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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 109.6 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 189.4 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.18 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.55 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1135, allocations: 60.82 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003177/0.1167, allocations: 1.842 MB / 470.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1182, allocations: 0.955 MB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1184, allocations: 0 / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.1189, allocations: 295.4 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1193, allocations: 211.5 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1197, allocations: 151.6 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.12, allocations: 239.4 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1201, allocations: 9.562 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1202, allocations: 127.5 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1205, allocations: 203.5 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1205, allocations: 7.938 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1206, allocations: 47.98 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1208, allocations: 139.6 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1209, allocations: 150.8 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.1213, allocations: 359 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1213, allocations: 0 / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1213, allocations: 3.938 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1213, allocations: 0 / 473.4 MB, free: 10.04 MB / 350.1 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.0008989/0.1222, allocations: 0.723 MB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1223, allocations: 8.031 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.1224, allocations: 44.38 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.1229, allocations: 459.8 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1229, allocations: 4.312 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.123, allocations: 8.125 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1232, allocations: 91.28 kB / 474.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1232, allocations: 3.938 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1232, allocations: 0 / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1232, allocations: 4 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1233, allocations: 27.98 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1237, allocations: 378.4 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.124, allocations: 101.2 kB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1241, allocations: 45.64 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1241, allocations: 4 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1244, allocations: 105 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1244, allocations: 0 / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004779/0.1249, allocations: 204.9 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1249, allocations: 81.11 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.126, allocations: 1.03 MB / 476.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.126, allocations: 33.7 kB / 476.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1262, allocations: 232.1 kB / 477 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.1262, allocations: 23.66 kB / 477 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1263, allocations: 29.7 kB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1264, allocations: 366.8 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.1265, allocations: 31.98 kB / 477.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1267, allocations: 62.86 kB / 477.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1269, allocations: 87.41 kB / 477.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1269, allocations: 8 kB / 477.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.1272, allocations: 168.8 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1272, allocations: 7.984 kB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1272, allocations: 4 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1273, allocations: 0 / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1274, allocations: 16 kB / 477.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1274, allocations: 7.984 kB / 477.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1275, allocations: 15.84 kB / 477.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1275, allocations: 4.062 kB / 477.8 MB, free: 5.387 MB / 350.1 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.0002089/0.1277, allocations: 230.2 kB / 478 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1278, allocations: 51.34 kB / 478.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.1279, allocations: 60 kB / 478.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1279, allocations: 7.922 kB / 478.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1279, allocations: 4 kB / 478.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1279, allocations: 0 / 478.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1282, allocations: 349.3 kB / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1282, allocations: 0 / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1283, allocations: 4 kB / 478.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1283, allocations: 8 kB / 478.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1283, allocations: 4.109 kB / 478.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1283, allocations: 4 kB / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1283, allocations: 7.938 kB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.1287, allocations: 193.2 kB / 478.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1288, allocations: 144.5 kB / 478.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.1289, allocations: 4 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.129, allocations: 7.984 kB / 478.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.129, allocations: 8 kB / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.1291, allocations: 7.984 kB / 478.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008742/0.1299, allocations: 0.7682 MB / 479.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1299, allocations: 0 / 479.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1302, allocations: 43.98 kB / 479.7 MB, free: 3.402 MB / 350.1 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001013/0.1313, allocations: 407.9 kB / 480.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1316, allocations: 83.91 kB / 480.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1316, allocations: 7.875 kB / 480.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1317, allocations: 35.97 kB / 480.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.1322, allocations: 82.64 kB / 480.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1337, allocations: 0.9643 MB / 481.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1342, allocations: 0.8466 MB / 482.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1344, allocations: 54.94 kB / 482.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.1344, allocations: 27.44 kB / 482.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1344, allocations: 0 / 482.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Templates: time 0.008588/0.143, allocations: 3.688 MB / 485.8 MB, free: 13.34 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches