Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001223/0.001223, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004423/0.004423, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2772/0.2772, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 4 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.83e-05, allocations: 2.312 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002616/0.002634, allocations: 1.844 MB / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004109, allocations: 1.064 MB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004219, allocations: 0 / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.004745, allocations: 311 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.005232, allocations: 267 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.0055, allocations: 103.6 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.005816, allocations: 271.2 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.00587, allocations: 5.812 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.006049, allocations: 159.6 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.006249, allocations: 211.5 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.006273, allocations: 8 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.006372, allocations: 47.92 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.006892, allocations: 139.6 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.006975, allocations: 71.66 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.007275, allocations: 282.9 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007278, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.007279, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.007285, allocations: 0 / 381.3 MB, free: 15.54 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.0007531/0.008038, allocations: 0.7939 MB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.008081, allocations: 12.03 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.008148, allocations: 56.56 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.008432, allocations: 320.6 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.008452, allocations: 384 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.008464, allocations: 8.375 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.00862, allocations: 86.28 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.00863, allocations: 3.938 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.008641, allocations: 4 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008649, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.008692, allocations: 27.89 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.008948, allocations: 216.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.009085, allocations: 90.22 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.009123, allocations: 35.3 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.009145, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.00929, allocations: 108.4 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.009291, allocations: 0 / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002725/0.009563, allocations: 177.1 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.009605, allocations: 77.11 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.0101, allocations: 0.6976 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01012, allocations: 29.7 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.01029, allocations: 310.7 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.01034, allocations: 35.73 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.01039, allocations: 31.36 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.01059, allocations: 0.5703 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.01062, allocations: 11.98 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.01066, allocations: 46.73 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.01073, allocations: 78.66 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01074, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001647/0.0109, allocations: 145.2 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01092, allocations: 8 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01092, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.01094, allocations: 7.938 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.01103, allocations: 24.55 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01103, allocations: 4.062 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.01109, allocations: 11.95 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.0111, allocations: 4 kB / 385.3 MB, free: 11.27 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 0.0001137/0.01121, allocations: 165.2 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.01126, allocations: 59.66 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.01146, allocations: 153.9 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01146, allocations: 7.938 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01146, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01147, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.01168, allocations: 237 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01168, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.01171, allocations: 11.94 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.01172, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01173, allocations: 7.984 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01173, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01173, allocations: 4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.01192, allocations: 211.6 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.01197, allocations: 55.66 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.012, allocations: 0 / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.01204, allocations: 8 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.01207, allocations: 19.86 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01209, allocations: 7.984 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.01236, allocations: 438.7 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01236, allocations: 0 / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000196/0.01256, allocations: 44 kB / 386.7 MB, free: 9.789 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.0008708/0.01343, allocations: 406.3 kB / 387.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01356, allocations: 55.59 kB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01356, allocations: 4 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.01361, allocations: 43.97 kB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.0139, allocations: 69.39 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.01459, allocations: 0.6637 MB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.01503, allocations: 132.2 kB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.01511, allocations: 38.94 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.01523, allocations: 114.2 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01523, allocations: 4 kB / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Templates: time 0.007696/0.02293, allocations: 4.356 MB / 392.6 MB, free: 4.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.1449571647681296]