Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008461, allocations: 93.91 kB / 18.01 MB, free: 5.734 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.0009418/0.0009423, allocations: 180 kB / 18.91 MB, free: 4.867 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.394/1.394, allocations: 223.3 MB / 243 MB, free: 14.47 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.207/0.207, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003333, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002238/0.1169, allocations: 1.499 MB / 474.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1185, allocations: 0.9356 MB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1186, allocations: 0 / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1192, allocations: 303.4 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1195, allocations: 195.5 kB / 475.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.12, allocations: 154.2 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1203, allocations: 235.4 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.1204, allocations: 9.547 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1206, allocations: 115.6 kB / 476.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.1209, allocations: 187.5 kB / 476.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1209, allocations: 4 kB / 476.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.121, allocations: 43.98 kB / 476.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1212, allocations: 139.6 kB / 476.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1213, allocations: 172.5 kB / 476.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1216, allocations: 271.8 kB / 477.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1217, allocations: 0 / 477.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1217, allocations: 0 / 477.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1217, allocations: 0 / 477.1 MB, free: 9.051 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.0008867/0.1226, allocations: 0.6649 MB / 477.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1226, allocations: 12.03 kB / 477.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.1227, allocations: 52.31 kB / 477.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.1233, allocations: 447.8 kB / 478.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1233, allocations: 8.375 kB / 478.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1233, allocations: 4.125 kB / 478.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1235, allocations: 87.3 kB / 478.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1235, allocations: 8 kB / 478.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1236, allocations: 0 / 478.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1236, allocations: 4 kB / 478.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1237, allocations: 31.97 kB / 478.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1241, allocations: 374.4 kB / 478.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.1244, allocations: 109.2 kB / 478.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.1245, allocations: 41.64 kB / 479 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1245, allocations: 0 / 479 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.1248, allocations: 109 kB / 479.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1248, allocations: 4 kB / 479.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004919/0.1253, allocations: 200.9 kB / 479.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1254, allocations: 77.11 kB / 479.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1264, allocations: 1.034 MB / 480.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1265, allocations: 29.7 kB / 480.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1266, allocations: 228.1 kB / 480.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1267, allocations: 31.66 kB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1267, allocations: 13.7 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1269, allocations: 374.8 kB / 481 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.127, allocations: 27.98 kB / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.1271, allocations: 59.42 kB / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1273, allocations: 87.34 kB / 481.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1273, allocations: 4 kB / 481.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003231/0.1276, allocations: 172.8 kB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1276, allocations: 6.188 kB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1277, allocations: 4.625 kB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1277, allocations: 11.91 kB / 481.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1278, allocations: 16 kB / 481.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1278, allocations: 4 kB / 481.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1279, allocations: 15.95 kB / 481.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.128, allocations: 12 kB / 481.5 MB, free: 4.457 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.0002097/0.1282, allocations: 230.1 kB / 481.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1282, allocations: 51.38 kB / 481.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.1283, allocations: 60 kB / 481.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1283, allocations: 4 kB / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.1284, allocations: 0 / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1284, allocations: 0 / 481.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.1287, allocations: 349.3 kB / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1287, allocations: 4 kB / 482.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.1287, allocations: 8 kB / 482.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1287, allocations: 0 / 482.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1287, allocations: 0 / 482.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1287, allocations: 7.984 kB / 482.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1288, allocations: 0 / 482.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1291, allocations: 201.2 kB / 482.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1292, allocations: 140.5 kB / 482.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.1293, allocations: 7.984 kB / 482.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.1294, allocations: 8 kB / 482.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.1294, allocations: 7.984 kB / 482.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1294, allocations: 4 kB / 482.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007566/0.1302, allocations: 0.776 MB / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1302, allocations: 0 / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1305, allocations: 40 kB / 483.3 MB, free: 2.48 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.0009812/0.1315, allocations: 423.2 kB / 483.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.1317, allocations: 83.89 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1317, allocations: 0 / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1319, allocations: 39.92 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1323, allocations: 70.14 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1336, allocations: 0.9964 MB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1341, allocations: 0.843 MB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1341, allocations: 31.42 kB / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1341, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of Templates: time 0.009172/0.1433, allocations: 4.986 MB / 490.8 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches