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.001147/0.001147, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001157/0.001158, allocations: 192 kB / 18.56 MB, free: 4.434 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.347/1.347, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2378/0.2378, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 72.2 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003071/0.1241, allocations: 1.793 MB / 471 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1257, allocations: 0.9549 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1257, allocations: 7.875 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.1263, allocations: 303.3 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1266, allocations: 211.3 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.127, allocations: 179 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1273, allocations: 239.4 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.265e-05/0.1273, allocations: 17.55 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1275, allocations: 119.6 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1277, allocations: 203.4 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.1278, allocations: 8 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1279, allocations: 39.98 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.128, allocations: 131.6 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1281, allocations: 146.8 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.1285, allocations: 362.9 kB / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1285, allocations: 0 / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1285, allocations: 0 / 473.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1285, allocations: 4 kB / 473.9 MB, free: 9.656 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.0008594/0.1294, allocations: 0.7218 MB / 474.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1294, allocations: 8.031 kB / 474.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.1295, allocations: 52.28 kB / 474.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.1301, allocations: 451.8 kB / 475.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1301, allocations: 384 / 475.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1302, allocations: 8.125 kB / 475.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1304, allocations: 87.36 kB / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1304, allocations: 0 / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1304, allocations: 4 kB / 475.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1304, allocations: 3.938 kB / 475.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1305, allocations: 31.92 kB / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1309, allocations: 374.4 kB / 475.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1312, allocations: 105.2 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.1313, allocations: 41.64 kB / 475.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1313, allocations: 11.91 kB / 475.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.1315, allocations: 113 kB / 475.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1315, allocations: 0 / 475.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004331/0.132, allocations: 197.4 kB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.132, allocations: 77.11 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/0.133, allocations: 1.034 MB / 477.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.133, allocations: 33.7 kB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1332, allocations: 236.1 kB / 477.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.1333, allocations: 35.55 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.1333, allocations: 29.7 kB / 477.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1335, allocations: 366.7 kB / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1336, allocations: 27.98 kB / 477.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1337, allocations: 55.48 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1339, allocations: 99.34 kB / 478.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1339, allocations: 0 / 478.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002873/0.1342, allocations: 161 kB / 478.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1342, allocations: 8 kB / 478.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1342, allocations: 3.984 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1342, allocations: 4.062 kB / 478.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1343, allocations: 23.94 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1344, allocations: 3.984 kB / 478.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.1345, allocations: 11.91 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1345, allocations: 4 kB / 478.3 MB, free: 5 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.0002129/0.1347, allocations: 225.6 kB / 478.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.1348, allocations: 51.34 kB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.1349, allocations: 60 kB / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1349, allocations: 8 kB / 478.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1349, allocations: 0 / 478.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1349, allocations: 0 / 478.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1352, allocations: 345.4 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1352, allocations: 128 / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.1353, allocations: 19.88 kB / 479 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1353, allocations: 0 / 479 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1353, allocations: 0 / 479 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1353, allocations: 7.984 kB / 479 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1353, allocations: 0 / 479 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1356, allocations: 205.2 kB / 479.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1358, allocations: 132.5 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.1358, allocations: 8 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.1359, allocations: 3.984 kB / 479.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.136, allocations: 4 kB / 479.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.136, allocations: 16.08 kB / 479.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007531/0.1368, allocations: 0.7721 MB / 480.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1368, allocations: 0 / 480.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.137, allocations: 47.98 kB / 480.2 MB, free: 3.016 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.0009608/0.138, allocations: 403.5 kB / 480.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1382, allocations: 83.84 kB / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1383, allocations: 0 / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1384, allocations: 48.09 kB / 480.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1388, allocations: 87.08 kB / 480.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1399, allocations: 0.886 MB / 481.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1404, allocations: 0.8388 MB / 482.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1405, allocations: 50.95 kB / 482.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1406, allocations: 31.42 kB / 482.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1406, allocations: 4 kB / 482.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Templates: time 0.007595/0.1482, allocations: 3.714 MB / 486.3 MB, free: 13.01 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/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