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.001372/0.001372, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001851/0.001851, allocations: 194 kB / 18.12 MB, free: 5.363 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.472/1.472, allocations: 222.9 MB / 241.8 MB, free: 13.83 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.2183/0.2183, allocations: 44.16 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.31 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003005/0.1314, allocations: 1.846 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.133, allocations: 0.955 MB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.133, allocations: 0 / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.1336, allocations: 295.4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.134, allocations: 203.5 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.1344, allocations: 154.4 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1347, allocations: 231.4 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.1348, allocations: 13.55 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.135, allocations: 115.5 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.1353, allocations: 187.5 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1354, allocations: 0 / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1355, allocations: 47.92 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.1357, allocations: 135.6 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.136, allocations: 142.8 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.1365, allocations: 355 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1365, allocations: 4 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.1366, allocations: 0 / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.1366, allocations: 3.938 kB / 473.2 MB, free: 10.16 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.001498/0.1381, allocations: 0.7256 MB / 473.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001784/0.1383, allocations: 8.031 kB / 473.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1384, allocations: 52.22 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.1392, allocations: 451.9 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1392, allocations: 384 / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1393, allocations: 12.12 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1395, allocations: 87.3 kB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1396, allocations: 0 / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1396, allocations: 3.984 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1396, allocations: 4 kB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1398, allocations: 27.98 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1403, allocations: 370.4 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1407, allocations: 109.2 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1408, allocations: 41.64 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1408, allocations: 4 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.1412, allocations: 116.9 kB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1412, allocations: 0 / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006089/0.1418, allocations: 197 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.1419, allocations: 81.11 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.1436, allocations: 1.034 MB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.1438, allocations: 29.7 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.1441, allocations: 236.1 kB / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1442, allocations: 31.55 kB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.1442, allocations: 29.7 kB / 476.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.1445, allocations: 366.8 kB / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1447, allocations: 27.98 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1449, allocations: 63.86 kB / 477.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1451, allocations: 87.41 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1451, allocations: 0 / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004102/0.1455, allocations: 169 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1456, allocations: 8 kB / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.1456, allocations: 0 / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1456, allocations: 4 kB / 477.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1458, allocations: 19.98 kB / 477.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1458, allocations: 7.938 kB / 477.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1459, allocations: 15.89 kB / 477.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.146, allocations: 7.938 kB / 477.5 MB, free: 5.508 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.000292/0.1463, allocations: 226.2 kB / 477.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.1464, allocations: 55.34 kB / 477.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1465, allocations: 60 kB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1465, allocations: 0 / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1465, allocations: 4 kB / 477.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1465, allocations: 0 / 477.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1469, allocations: 337.4 kB / 478.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1469, allocations: 4 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.147, allocations: 4 kB / 478.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.147, allocations: 4 kB / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.147, allocations: 128 / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.147, allocations: 4 kB / 478.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.147, allocations: 7.938 kB / 478.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1475, allocations: 205.2 kB / 478.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1476, allocations: 140.5 kB / 478.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.1477, allocations: 3.938 kB / 478.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1478, allocations: 7.984 kB / 478.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.1479, allocations: 12 kB / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.1479, allocations: 7.984 kB / 478.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.1493, allocations: 0.7682 MB / 479.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1493, allocations: 0 / 479.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.1497, allocations: 40 kB / 479.4 MB, free: 3.539 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.001252/0.151, allocations: 420 kB / 479.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1513, allocations: 83.97 kB / 479.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1513, allocations: 3.938 kB / 479.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1515, allocations: 43.92 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.1521, allocations: 70.14 kB / 480 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.154, allocations: 0.9507 MB / 481 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.1548, allocations: 0.8429 MB / 481.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.1549, allocations: 58.95 kB / 481.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.155, allocations: 31.42 kB / 481.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.155, allocations: 0 / 481.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.01106/0.1661, allocations: 3.566 MB / 485.5 MB, free: 13.6 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