Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001194/0.001194, allocations: 187 kB / 19.34 MB, free: 3.641 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.553/1.553, allocations: 222.9 MB / 243 MB, free: 15.14 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.264/0.264, allocations: 44.18 MB / 337.4 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 66.77 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.004157/0.1499, allocations: 1.648 MB / 472.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1515, allocations: 0.8613 MB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.943e-05/0.1516, allocations: 0 / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.152, allocations: 55.75 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1523, allocations: 63.73 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1526, allocations: 107.4 kB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1528, allocations: 91.7 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.1529, allocations: 7.984 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.153, allocations: 47.77 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1531, allocations: 35.86 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1532, allocations: 0 / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1533, allocations: 43.97 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.1534, allocations: 23.92 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.1535, allocations: 23.8 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1537, allocations: 103.6 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.1537, allocations: 0 / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1537, allocations: 3.938 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1538, allocations: 0 / 473.8 MB, free: 10.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007562/0.1545, allocations: 395.1 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.1546, allocations: 8.031 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1546, allocations: 12.84 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.1551, allocations: 207.8 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1551, allocations: 384 / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1551, allocations: 8.109 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1553, allocations: 45.69 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1553, allocations: 0 / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1553, allocations: 4 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1553, allocations: 0 / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.1554, allocations: 19.92 kB / 474.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.1557, allocations: 185.6 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1559, allocations: 50.61 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.156, allocations: 20.8 kB / 474.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.156, allocations: 4 kB / 474.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1562, allocations: 75.31 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1562, allocations: 0 / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003341/0.1566, allocations: 93.56 kB / 474.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1566, allocations: 55.34 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1568, allocations: 170.2 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.1569, allocations: 25.7 kB / 475.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1569, allocations: 100.1 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.157, allocations: 19.75 kB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.157, allocations: 21.72 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1572, allocations: 322.8 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1573, allocations: 15.98 kB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.1573, allocations: 25.66 kB / 475.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/0.1574, allocations: 45.7 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1575, allocations: 0 / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001437/0.1576, allocations: 85.47 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1576, allocations: 7.984 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1576, allocations: 0 / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1577, allocations: 4 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.1577, allocations: 8 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1578, allocations: 0 / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.1578, allocations: 4 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1578, allocations: 4 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001766/0.158, allocations: 129.8 kB / 476 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.158, allocations: 11.81 kB / 476 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.1581, allocations: 12.62 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1581, allocations: 3.984 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1581, allocations: 7.938 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1581, allocations: 4 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1583, allocations: 177.6 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1584, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.1584, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1584, allocations: 3.984 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1584, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1584, allocations: 8 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1584, allocations: 0 / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1586, allocations: 109 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1587, allocations: 81.02 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1587, allocations: 7.984 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.1587, allocations: 7.938 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1588, allocations: 7.938 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1588, allocations: 4 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1589, allocations: 136.7 kB / 476.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.159, allocations: 3.938 kB / 476.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1592, allocations: 16 kB / 476.5 MB, free: 7.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001005/0.1602, allocations: 409.8 kB / 476.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1604, allocations: 39.98 kB / 477 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1604, allocations: 0 / 477 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.1604, allocations: 27.98 kB / 477 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1607, allocations: 27.86 kB / 477 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.1611, allocations: 189.9 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.1618, allocations: 0.704 MB / 477.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.1619, allocations: 16.53 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.162, allocations: 19.44 kB / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.162, allocations: 0 / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of Templates: time 0.004868/0.1669, allocations: 1.456 MB / 479.4 MB, free: 4.734 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches