Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00094/0.00094, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9889/0.9889, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.577e-05, allocations: 6.25 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002591/0.002617, allocations: 1.856 MB / 378 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.004138, allocations: 1.084 MB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.004201, allocations: 0 / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.004592, allocations: 299.1 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.004978, allocations: 255 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.005184, allocations: 115.6 kB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.005435, allocations: 267.2 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.005469, allocations: 9.812 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.005624, allocations: 155.6 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.005813, allocations: 196.1 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.005834, allocations: 8 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.005922, allocations: 51.91 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.006031, allocations: 136.5 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.006112, allocations: 75.64 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.006406, allocations: 274.9 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.006408, allocations: 4 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006409, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.006413, allocations: 0 / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006976/0.007111, allocations: 0.7824 MB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.007138, allocations: 12.03 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.007211, allocations: 56.61 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.007546, allocations: 324.7 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.007559, allocations: 384 / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.007572, allocations: 8.359 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.007708, allocations: 98.23 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.007715, allocations: 7.938 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.007724, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.00773, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.007777, allocations: 19.97 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.008079, allocations: 308.2 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.008224, allocations: 102.1 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.008272, allocations: 35.36 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.008283, allocations: 8 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.008409, allocations: 108.3 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.00841, allocations: 0 / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000277/0.008687, allocations: 177.2 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.008722, allocations: 81.09 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.00935, allocations: 0.6979 MB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.009366, allocations: 29.7 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.009541, allocations: 302.8 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.009576, allocations: 27.83 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.009617, allocations: 35.38 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.009796, allocations: 0.5625 MB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.009832, allocations: 16 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.009886, allocations: 57.8 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.009983, allocations: 79.17 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.009985, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001863/0.01017, allocations: 153.2 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01018, allocations: 10.56 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01019, allocations: 7.938 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.0102, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.01028, allocations: 23.92 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.01028, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.01035, allocations: 11.94 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01036, allocations: 4 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.01046, allocations: 165.2 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.01051, allocations: 55.62 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.01074, allocations: 169.8 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01074, allocations: 4 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01074, allocations: 0 / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01075, allocations: 3.984 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.01101, allocations: 312.5 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01101, allocations: 0 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.01105, allocations: 8 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01105, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01106, allocations: 3.984 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01106, allocations: 11.81 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01107, allocations: 4.25 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01129, allocations: 215.7 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.01136, allocations: 67.59 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.01139, allocations: 4 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.01144, allocations: 3.938 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.01148, allocations: 11.98 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.0115, allocations: 11.98 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.01191, allocations: 474.8 kB / 386.4 MB, free: 9.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01191, allocations: 0 / 386.4 MB, free: 9.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.01217, allocations: 44 kB / 386.5 MB, free: 9.816 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008944/0.01306, allocations: 393.2 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.01321, allocations: 71.58 kB / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01321, allocations: 0 / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.01327, allocations: 47.73 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.0136, allocations: 72.05 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.01437, allocations: 0.6559 MB / 387.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.01446, allocations: 128.2 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.01454, allocations: 42.94 kB / 387.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.0146, allocations: 28.5 kB / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0146, allocations: 0 / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Templates: time 0.007621/0.02222, allocations: 4.255 MB / 392.2 MB, free: 4.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.051194722764194]