Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009389, allocations: 96.77 kB / 17 MB, free: 6.418 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.001261/0.001261, allocations: 187.9 kB / 17.89 MB, free: 5.945 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.596/1.596, allocations: 223.3 MB / 241.9 MB, free: 232 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.249/0.249, allocations: 44.25 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002559/0.1468, allocations: 1.55 MB / 473.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1482, allocations: 0.9167 MB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.1484, allocations: 7.938 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.1489, allocations: 203.5 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1492, allocations: 147.6 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.1498, allocations: 163 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.1502, allocations: 203.4 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1504, allocations: 29.59 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1506, allocations: 99.59 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1508, allocations: 127.5 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1508, allocations: 4 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1509, allocations: 55.97 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.151, allocations: 51.77 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.1511, allocations: 57.58 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1513, allocations: 168 kB / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1513, allocations: 0 / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1513, allocations: 0 / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1514, allocations: 0 / 475.4 MB, free: 9.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006635/0.152, allocations: 0.5214 MB / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1521, allocations: 8.031 kB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.1521, allocations: 27.72 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1524, allocations: 263.1 kB / 476.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1525, allocations: 4 kB / 476.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1525, allocations: 11.91 kB / 476.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1527, allocations: 118 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1527, allocations: 4 kB / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1528, allocations: 0 / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1528, allocations: 0 / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1529, allocations: 51.95 kB / 476.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.1535, allocations: 476.6 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1539, allocations: 133.2 kB / 477 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.154, allocations: 37.83 kB / 477 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.154, allocations: 4 kB / 477 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.1543, allocations: 125.1 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1543, allocations: 0 / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00121/0.1555, allocations: 493 kB / 477.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1556, allocations: 89 kB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.1561, allocations: 424.5 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1561, allocations: 33.7 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1562, allocations: 160.5 kB / 478.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.1563, allocations: 67.08 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.1563, allocations: 4 kB / 478.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1565, allocations: 346.8 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1566, allocations: 51.97 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1568, allocations: 95.33 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1569, allocations: 67.94 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1569, allocations: 3.938 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003826/0.1573, allocations: 229.1 kB / 479.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1573, allocations: 6.5 kB / 479.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1573, allocations: 4.078 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1574, allocations: 0 / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1575, allocations: 47.92 kB / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1575, allocations: 8 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.1576, allocations: 23.92 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1576, allocations: 4 kB / 479.2 MB, free: 5.77 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.1578, allocations: 174.2 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1578, allocations: 31.62 kB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.1579, allocations: 38.62 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1579, allocations: 0 / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.158, allocations: 4 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.158, allocations: 3.953 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.1589, allocations: 0.7195 MB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1589, allocations: 3.953 kB / 480.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.159, allocations: 36.06 kB / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.159, allocations: 7.984 kB / 480.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.159, allocations: 8 kB / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.159, allocations: 4.188 kB / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.159, allocations: 0 / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1595, allocations: 428.5 kB / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.1596, allocations: 112.8 kB / 480.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1596, allocations: 8 kB / 480.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1598, allocations: 4 kB / 480.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.1598, allocations: 23.91 kB / 480.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1599, allocations: 12 kB / 480.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.1601, allocations: 319 kB / 481.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1602, allocations: 3.938 kB / 481.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1605, allocations: 55.89 kB / 481.2 MB, free: 3.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.1617, allocations: 0.502 MB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.162, allocations: 155.8 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.1621, allocations: 12.12 kB / 481.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1622, allocations: 75.84 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1627, allocations: 71.91 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.1636, allocations: 0.5796 MB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.164, allocations: 0.7716 MB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1641, allocations: 37.92 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.1642, allocations: 31.42 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1642, allocations: 4 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Templates: time 0.006306/0.1705, allocations: 2.852 MB / 486.3 MB, free: 14.75 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches