Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001436/0.001436, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.346/1.346, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2198/0.2198, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 62.97 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003865/0.1163, allocations: 1.785 MB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1181, allocations: 0.9704 MB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1182, allocations: 0 / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.1188, allocations: 299.3 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.1193, allocations: 203.4 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.1197, allocations: 174.3 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1201, allocations: 239.4 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.1202, allocations: 9.562 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1204, allocations: 123.6 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1207, allocations: 192 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.1207, allocations: 8 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1209, allocations: 39.98 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.121, allocations: 128.5 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1212, allocations: 146.8 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.1216, allocations: 355 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1217, allocations: 0 / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1217, allocations: 0 / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1217, allocations: 0 / 474.6 MB, free: 9.711 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.001049/0.1227, allocations: 0.722 MB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1228, allocations: 8.031 kB / 475.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1229, allocations: 48.28 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.1235, allocations: 447.9 kB / 475.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1235, allocations: 4.375 kB / 475.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1235, allocations: 8.125 kB / 475.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1238, allocations: 83.34 kB / 475.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1238, allocations: 0 / 475.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1238, allocations: 15.92 kB / 475.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1238, allocations: 0 / 475.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1239, allocations: 27.92 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1244, allocations: 378.3 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1247, allocations: 105.2 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1248, allocations: 49.62 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1248, allocations: 0 / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.1252, allocations: 105 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1252, allocations: 0 / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000507/0.1257, allocations: 196.9 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1257, allocations: 85.09 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1268, allocations: 1.007 MB / 477.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1268, allocations: 29.7 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.127, allocations: 224.1 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1271, allocations: 27.69 kB / 478.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1272, allocations: 29.72 kB / 478.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1274, allocations: 370.8 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.1275, allocations: 35.97 kB / 478.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.1276, allocations: 47.42 kB / 478.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1278, allocations: 91.84 kB / 478.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1278, allocations: 0 / 478.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000347/0.1281, allocations: 172.9 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1281, allocations: 8 kB / 478.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1282, allocations: 0 / 478.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1282, allocations: 0 / 478.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1283, allocations: 31.92 kB / 478.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1283, allocations: 0 / 478.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.1284, allocations: 11.92 kB / 478.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1284, allocations: 4 kB / 478.9 MB, free: 5.105 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.0002201/0.1287, allocations: 229.7 kB / 479.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.1288, allocations: 47.34 kB / 479.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.1289, allocations: 63.78 kB / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1289, allocations: 0 / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1289, allocations: 0 / 479.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1289, allocations: 3.984 kB / 479.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.1292, allocations: 337.4 kB / 479.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1292, allocations: 3.938 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1293, allocations: 4 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1293, allocations: 8 kB / 479.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1293, allocations: 3.984 kB / 479.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1293, allocations: 0 / 479.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1293, allocations: 4 kB / 479.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1297, allocations: 197.2 kB / 479.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1298, allocations: 140.5 kB / 479.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.1299, allocations: 4 kB / 479.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.1299, allocations: 11.98 kB / 479.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.13, allocations: 4.125 kB / 479.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.13, allocations: 19.97 kB / 479.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007622/0.1308, allocations: 0.7448 MB / 480.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1308, allocations: 4 kB / 480.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1311, allocations: 36 kB / 480.7 MB, free: 3.16 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.0009774/0.1321, allocations: 414.4 kB / 481.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1324, allocations: 91.89 kB / 481.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1324, allocations: 0 / 481.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1325, allocations: 39.92 kB / 481.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.133, allocations: 82.92 kB / 481.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1343, allocations: 0.8878 MB / 482.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1347, allocations: 0.8388 MB / 483.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.1348, allocations: 23.44 kB / 483.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1348, allocations: 8 kB / 483.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Templates: time 0.009141/0.144, allocations: 4.95 MB / 488 MB, free: 11.94 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches