Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.002682/0.002682, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001698/0.001698, allocations: 172.9 kB / 24.82 MB, free: 8.945 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.037/1.037, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.347/0.347, allocations: 32.81 MB / 294.6 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 3.984 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.661e-05, allocations: 6.312 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003127/0.003164, allocations: 1.824 MB / 378.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004882, allocations: 1.072 MB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.005002, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.005581, allocations: 319 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.00611, allocations: 255.1 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.006399, allocations: 111.6 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.006721, allocations: 275.2 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.006785, allocations: 5.812 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.006986, allocations: 155.6 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.007216, allocations: 211.6 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.007243, allocations: 4 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.007364, allocations: 47.92 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.007518, allocations: 135.6 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.007606, allocations: 83.64 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.008301, allocations: 282.9 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.008308, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.008309, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008314, allocations: 0 / 381.3 MB, free: 15.53 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.0008085/0.009123, allocations: 0.7939 MB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.009174, allocations: 12.03 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.009252, allocations: 56.56 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.009597, allocations: 312.6 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.009622, allocations: 4.375 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.009634, allocations: 4.375 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.009824, allocations: 98.27 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.009835, allocations: 3.938 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.009844, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.009854, allocations: 7.984 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/0.009893, allocations: 19.92 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.01013, allocations: 220.8 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.01027, allocations: 90.2 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.01031, allocations: 35.3 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01034, allocations: 8 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.01048, allocations: 100.4 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.01048, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002664/0.01075, allocations: 173.2 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.01079, allocations: 81.09 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.01126, allocations: 0.6898 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.01128, allocations: 25.7 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.01145, allocations: 326.6 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.0115, allocations: 23.75 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.01154, allocations: 39.34 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01173, allocations: 0.5664 MB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.01176, allocations: 11.98 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.01181, allocations: 54.72 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.01188, allocations: 66.67 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01188, allocations: 7.938 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001529/0.01203, allocations: 141.8 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01205, allocations: 4 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.01206, allocations: 8.109 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01207, allocations: 3.938 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.01217, allocations: 23.94 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01217, allocations: 4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.01223, allocations: 11.94 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.01224, allocations: 8 kB / 385.3 MB, free: 11.25 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.0001216/0.01236, allocations: 161.2 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01241, allocations: 55.67 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.01264, allocations: 165.9 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.01264, allocations: 3.938 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01265, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01265, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.01286, allocations: 233 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01286, allocations: 4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.01291, allocations: 11.94 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01291, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.01292, allocations: 4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01292, allocations: 7.984 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01292, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01313, allocations: 207.5 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.01319, allocations: 55.66 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.01322, allocations: 7.984 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.01327, allocations: 4 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.01331, allocations: 19.91 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01333, allocations: 4 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.01362, allocations: 446.6 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01362, allocations: 0 / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.01381, allocations: 44 kB / 386.7 MB, free: 9.777 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.001059/0.01487, allocations: 396.2 kB / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01504, allocations: 71.56 kB / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01504, allocations: 0 / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.0151, allocations: 39.55 kB / 387.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01544, allocations: 72.84 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.01627, allocations: 0.6559 MB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.67e-05/0.01636, allocations: 132.2 kB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.01645, allocations: 38.95 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.01658, allocations: 126.2 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01658, allocations: 0 / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of Templates: time 0.009135/0.02571, allocations: 4.356 MB / 392.6 MB, free: 4.059 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.2697975407354534]