Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008402/0.0008402, allocations: 96.02 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.0009467/0.0009468, allocations: 176.1 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.456/1.456, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2064/0.2064, allocations: 44.25 MB / 337.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.000478, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002299/0.1583, allocations: 1.294 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.1591, allocations: 395.4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.1592, allocations: 3.938 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1596, allocations: 71.84 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1598, allocations: 55.86 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1601, allocations: 71.86 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1603, allocations: 71.81 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1605, allocations: 24.11 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.1606, allocations: 23.86 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1607, allocations: 51.88 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1607, allocations: 0 / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1608, allocations: 43.98 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.1609, allocations: 15.92 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.161, allocations: 57.44 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1612, allocations: 87.98 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1612, allocations: 11.98 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1612, allocations: 0 / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1612, allocations: 3.938 kB / 474.5 MB, free: 11.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005046/0.1617, allocations: 387.2 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1618, allocations: 12.03 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1618, allocations: 12.78 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1621, allocations: 192.1 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1621, allocations: 4.375 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1621, allocations: 4.375 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1623, allocations: 57.62 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1623, allocations: 3.906 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1623, allocations: 4 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1623, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1624, allocations: 35.91 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.1629, allocations: 296.8 kB / 475.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.163, allocations: 42.5 kB / 475.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1631, allocations: 16.86 kB / 475.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1631, allocations: 7.984 kB / 475.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1632, allocations: 42.64 kB / 475.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1632, allocations: 0 / 475.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009552/0.1641, allocations: 241.1 kB / 475.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1642, allocations: 55.41 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1644, allocations: 214.1 kB / 476.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1644, allocations: 33.7 kB / 476.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.1645, allocations: 100 kB / 476.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1646, allocations: 31.7 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1646, allocations: 17.66 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1647, allocations: 322.8 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.1648, allocations: 27.98 kB / 476.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.1649, allocations: 31.98 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1651, allocations: 73 kB / 476.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1651, allocations: 0 / 476.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002238/0.1653, allocations: 113.5 kB / 476.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1653, allocations: 6.5 kB / 476.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1654, allocations: 0 / 476.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.1654, allocations: 4 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1655, allocations: 23.92 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1655, allocations: 7.938 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1656, allocations: 8 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1656, allocations: 0 / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001222/0.1657, allocations: 130.3 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1658, allocations: 11.91 kB / 477 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1661, allocations: 122.3 kB / 477.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1661, allocations: 8 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1661, allocations: 3.938 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1661, allocations: 0 / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.1666, allocations: 407.2 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1666, allocations: 0 / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.1667, allocations: 27.86 kB / 477.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1667, allocations: 4 kB / 477.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1667, allocations: 4 kB / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1667, allocations: 0 / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1668, allocations: 0 / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.167, allocations: 212.3 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1671, allocations: 88.95 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1671, allocations: 0 / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.1672, allocations: 15.98 kB / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1672, allocations: 0 / 477.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1673, allocations: 12 kB / 477.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1674, allocations: 155.2 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1674, allocations: 3.938 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1677, allocations: 27.98 kB / 478.1 MB, free: 7.117 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001159/0.1689, allocations: 454.6 kB / 478.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1691, allocations: 71.94 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1691, allocations: 0 / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.1692, allocations: 47.98 kB / 478.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1696, allocations: 23.92 kB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.1702, allocations: 274.3 kB / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1705, allocations: 0.7004 MB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.1706, allocations: 8.672 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.1706, allocations: 19.42 kB / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1706, allocations: 0 / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of Templates: time 0.004161/0.1748, allocations: 1.257 MB / 480.9 MB, free: 4.398 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches