Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 222.6 MB, free: 5.012 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3887/0.3887, allocations: 43.49 MB / 313.5 MB, free: 8.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 382 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 57.78 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003418/0.1543, allocations: 1.637 MB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.155, allocations: 335.5 kB / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1551, allocations: 0 / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1554, allocations: 87.8 kB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1556, allocations: 63.86 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1559, allocations: 99.81 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1561, allocations: 71.83 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1562, allocations: 20.44 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.1563, allocations: 35.84 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1564, allocations: 51.83 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1565, allocations: 8 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.1565, allocations: 27.97 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1566, allocations: 23.92 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.1567, allocations: 35.73 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1568, allocations: 103.6 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1569, allocations: 0 / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1569, allocations: 0 / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1569, allocations: 0 / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006999/0.1576, allocations: 418.9 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1576, allocations: 8.031 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1577, allocations: 20.75 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1579, allocations: 204.8 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1579, allocations: 8.312 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.158, allocations: 4.375 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1581, allocations: 83.25 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1582, allocations: 4 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1582, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1582, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1583, allocations: 39.97 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.1588, allocations: 396.9 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.1591, allocations: 89.16 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.1592, allocations: 33.73 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1592, allocations: 4 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1592, allocations: 34.55 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1593, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007322/0.16, allocations: 249 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1601, allocations: 77.11 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1603, allocations: 234.2 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1603, allocations: 25.7 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.1604, allocations: 108.1 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1605, allocations: 35.53 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.1605, allocations: 21.72 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1606, allocations: 334.8 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.1607, allocations: 27.98 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.1608, allocations: 45.69 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1611, allocations: 89.73 kB / 444.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1611, allocations: 4 kB / 444.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002282/0.1613, allocations: 129.4 kB / 445.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1613, allocations: 4 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1614, allocations: 0 / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1614, allocations: 4 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1615, allocations: 19.98 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1615, allocations: 4.125 kB / 445.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.1615, allocations: 7.984 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1615, allocations: 11.94 kB / 445.1 MB, free: 9.34 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001018/0.1617, allocations: 137.8 kB / 445.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.1617, allocations: 15.81 kB / 445.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.162, allocations: 142.8 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1621, allocations: 8 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1621, allocations: 3.938 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1621, allocations: 0 / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.1627, allocations: 0.5024 MB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1627, allocations: 0 / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.1628, allocations: 31.92 kB / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1628, allocations: 0 / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1628, allocations: 0 / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1628, allocations: 7.969 kB / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1628, allocations: 4 kB / 446 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1631, allocations: 299.4 kB / 446.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1632, allocations: 88.95 kB / 446.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1632, allocations: 4 kB / 446.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1633, allocations: 15.92 kB / 446.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1633, allocations: 7.984 kB / 446.4 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1634, allocations: 8 kB / 446.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1635, allocations: 168.2 kB / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1635, allocations: 0 / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1638, allocations: 27.98 kB / 446.6 MB, free: 7.766 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0009289/0.1647, allocations: 398.8 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.165, allocations: 83.88 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.165, allocations: 0 / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1651, allocations: 47.91 kB / 447.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1655, allocations: 19.94 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.1661, allocations: 325.9 kB / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1664, allocations: 0.716 MB / 448.1 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.35e-05/0.1665, allocations: 28.41 kB / 448.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1666, allocations: 15.42 kB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1666, allocations: 3.938 kB / 448.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of Templates: time 0.003744/0.1703, allocations: 1.241 MB / 449.4 MB, free: 4.875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches