Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008818, allocations: 95.05 kB / 17.35 MB, free: 6.367 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.001474/0.001474, allocations: 173.5 kB / 18.25 MB, free: 5.523 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.571/1.571, allocations: 223.3 MB / 242.3 MB, free: 196 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.2319/0.2319, allocations: 44.25 MB / 337.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005343, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1463, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002493/0.1488, allocations: 1.437 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1502, allocations: 0.846 MB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.1503, allocations: 4 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1506, allocations: 43.81 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.1508, allocations: 47.83 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1511, allocations: 102.6 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1513, allocations: 119.7 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1514, allocations: 12 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.1515, allocations: 43.78 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.1516, allocations: 47.83 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1517, allocations: 7.938 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1518, allocations: 47.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1519, allocations: 35.83 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.1519, allocations: 57.45 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1522, allocations: 139.8 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1522, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1522, allocations: 4 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1522, allocations: 0 / 475.2 MB, free: 10.33 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00061/0.1528, allocations: 418.9 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1529, allocations: 12.03 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1529, allocations: 8.844 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1533, allocations: 224.7 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1533, allocations: 384 / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1533, allocations: 8.125 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1535, allocations: 73.66 kB / 476 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1536, allocations: 3.906 kB / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1536, allocations: 8 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1536, allocations: 0 / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1537, allocations: 43.91 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1541, allocations: 312.8 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1544, allocations: 98.45 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.1545, allocations: 28.84 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1546, allocations: 4.094 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.1548, allocations: 87.31 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1549, allocations: 0 / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001108/0.156, allocations: 289.5 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.1561, allocations: 59.62 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1565, allocations: 187.3 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1566, allocations: 33.7 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.1566, allocations: 104.3 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.1567, allocations: 47.3 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1568, allocations: 21.7 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1569, allocations: 326.8 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1571, allocations: 35.98 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1572, allocations: 53.7 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1576, allocations: 97.64 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1576, allocations: 4 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003618/0.158, allocations: 148.6 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.158, allocations: 8 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.158, allocations: 0 / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1581, allocations: 4.031 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1582, allocations: 27.92 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1582, allocations: 7.938 kB / 478 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.1583, allocations: 0 / 478 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1583, allocations: 8 kB / 478 MB, free: 7.352 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 (15): * Single equations (assignments): 15 * 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.0001442/0.1585, allocations: 130.4 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1585, allocations: 11.81 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.1586, allocations: 17.53 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1586, allocations: 11.94 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1586, allocations: 3.938 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1586, allocations: 3.984 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.1595, allocations: 488.1 kB / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1595, allocations: 0 / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.1596, allocations: 16 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.1596, allocations: 8.047 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1596, allocations: 8 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1596, allocations: 3.938 kB / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1596, allocations: 0 / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.16, allocations: 253.1 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.1601, allocations: 88.92 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1602, allocations: 15.98 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1603, allocations: 4 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1603, allocations: 7.984 kB / 479 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.1604, allocations: 8 kB / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1605, allocations: 144.8 kB / 479.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.1606, allocations: 0 / 479.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.161, allocations: 35.94 kB / 479.2 MB, free: 6.008 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001792/0.1628, allocations: 0.515 MB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1631, allocations: 91.91 kB / 479.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1631, allocations: 3.938 kB / 479.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1633, allocations: 47.92 kB / 479.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.1639, allocations: 39.84 kB / 479.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.1647, allocations: 299.9 kB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1651, allocations: 0.7165 MB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1652, allocations: 25.41 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.1652, allocations: 19.44 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1653, allocations: 0 / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.007115/0.1724, allocations: 2.04 MB / 483 MB, free: 2.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches