Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.84 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.001411/0.001411, allocations: 175.9 kB / 18.91 MB, free: 4.871 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.359/1.359, allocations: 223.3 MB / 243 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1927/0.1927, allocations: 44.25 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003268, allocations: 12.28 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002507/0.1453, allocations: 1.503 MB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1473, allocations: 0.9279 MB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1475, allocations: 7.938 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.148, allocations: 287.4 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.1485, allocations: 195.5 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.149, allocations: 155.1 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1494, allocations: 231.4 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/0.1494, allocations: 13.55 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1497, allocations: 111.6 kB / 476.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1499, allocations: 187.9 kB / 476.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.15, allocations: 8 kB / 476.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1501, allocations: 43.97 kB / 476.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1503, allocations: 124.6 kB / 476.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1504, allocations: 168.5 kB / 476.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1508, allocations: 267.8 kB / 477.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1508, allocations: 7.938 kB / 477.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1508, allocations: 0 / 477.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1509, allocations: 0 / 477.1 MB, free: 9.102 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.000869/0.1517, allocations: 0.6516 MB / 477.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1518, allocations: 20.02 kB / 477.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.1519, allocations: 48.28 kB / 477.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.1524, allocations: 432 kB / 478.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1525, allocations: 4.375 kB / 478.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1525, allocations: 8.125 kB / 478.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1527, allocations: 87.3 kB / 478.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1527, allocations: 3.984 kB / 478.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1527, allocations: 0 / 478.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1528, allocations: 7.938 kB / 478.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1529, allocations: 31.97 kB / 478.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.1533, allocations: 374.3 kB / 478.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1536, allocations: 105.2 kB / 478.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1537, allocations: 41.64 kB / 478.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1537, allocations: 7.984 kB / 478.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.154, allocations: 105 kB / 479 MB, free: 7.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.366e-06/0.154, allocations: 4 kB / 479 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005131/0.1545, allocations: 204.8 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1546, allocations: 81.11 kB / 479.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.1558, allocations: 1.003 MB / 480.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.1559, allocations: 29.7 kB / 480.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.1561, allocations: 228.1 kB / 480.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.1562, allocations: 19.72 kB / 480.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.1563, allocations: 25.7 kB / 480.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1564, allocations: 366.8 kB / 481 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.1565, allocations: 23.98 kB / 481 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.1566, allocations: 59.36 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1568, allocations: 91.41 kB / 481.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1568, allocations: 3.938 kB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/0.1572, allocations: 169.5 kB / 481.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1572, allocations: 8 kB / 481.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1572, allocations: 0 / 481.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1572, allocations: 0 / 481.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1573, allocations: 23.98 kB / 481.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1574, allocations: 3.938 kB / 481.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1575, allocations: 23.98 kB / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1575, allocations: 4 kB / 481.4 MB, free: 4.574 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.0002558/0.1578, allocations: 218.2 kB / 481.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1578, allocations: 47.34 kB / 481.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1579, allocations: 59.84 kB / 481.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.158, allocations: 0 / 481.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.158, allocations: 3.984 kB / 481.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.158, allocations: 4 kB / 481.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.1583, allocations: 337.4 kB / 482 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1583, allocations: 0 / 482 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.1584, allocations: 15.94 kB / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1584, allocations: 0 / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1584, allocations: 3.984 kB / 482 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1584, allocations: 7.938 kB / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1584, allocations: 0 / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1587, allocations: 201.2 kB / 482.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.1589, allocations: 148.5 kB / 482.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.159, allocations: 4 kB / 482.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.1591, allocations: 7.938 kB / 482.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1591, allocations: 15.97 kB / 482.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1591, allocations: 4 kB / 482.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008827/0.16, allocations: 0.7487 MB / 483.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.16, allocations: 0 / 483.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1603, allocations: 43.98 kB / 483.2 MB, free: 2.625 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.001062/0.1614, allocations: 418.1 kB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1617, allocations: 75.91 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1617, allocations: 0 / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1618, allocations: 43.91 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1623, allocations: 66.22 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1639, allocations: 0.9729 MB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.1645, allocations: 0.843 MB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.1646, allocations: 31.42 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1646, allocations: 0 / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of Templates: time 0.01207/0.1767, allocations: 4.876 MB / 490.5 MB, free: 11.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches