Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001169/0.001169, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.325/1.325, 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.1969/0.1969, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 65.44 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1517, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.004584/0.1563, allocations: 1.579 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1576, allocations: 419.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.1577, allocations: 0 / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1581, allocations: 103.7 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1584, allocations: 87.7 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1589, allocations: 103.5 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1591, allocations: 83.81 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1593, allocations: 20.16 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.1594, allocations: 43.78 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1595, allocations: 63.88 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1596, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1597, allocations: 47.97 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.1598, allocations: 27.86 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.1599, allocations: 27.75 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1601, allocations: 115.6 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1602, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1602, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1602, allocations: 0 / 473.4 MB, free: 10.95 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.0006434/0.1608, allocations: 422.9 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1609, allocations: 12.02 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.161, allocations: 16.75 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1612, allocations: 200.1 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1612, allocations: 4.359 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1613, allocations: 8.375 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1615, allocations: 57.55 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1615, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1615, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1615, allocations: 11.94 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1617, allocations: 31.97 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1622, allocations: 304.7 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1624, allocations: 46.5 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.1625, allocations: 16.86 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1625, allocations: 8.078 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1626, allocations: 30.56 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.1626, allocations: 0 / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001261/0.1638, allocations: 245 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1639, allocations: 55.41 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1642, allocations: 243.4 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1643, allocations: 29.7 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1644, allocations: 104.1 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1644, allocations: 27.56 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1645, allocations: 25.7 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1646, allocations: 322.8 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1648, allocations: 31.98 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1649, allocations: 35.91 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1652, allocations: 68.83 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1652, allocations: 0 / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003441/0.1655, allocations: 109.8 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1656, allocations: 4 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1656, allocations: 4 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1656, allocations: 7.984 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1658, allocations: 12 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1658, allocations: 8 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.1659, allocations: 15.92 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1659, allocations: 4 kB / 475.9 MB, free: 8.246 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.0001342/0.166, allocations: 129.8 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.1661, allocations: 15.81 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.1665, allocations: 131 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1665, allocations: 0 / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1665, allocations: 3.938 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1666, allocations: 432 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.1673, allocations: 423.2 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1674, allocations: 4 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1675, allocations: 23.91 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1675, allocations: 0 / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1675, allocations: 7.984 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1675, allocations: 4 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1675, allocations: 3.938 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.168, allocations: 212.3 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.168, allocations: 96.8 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1681, allocations: 0 / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1682, allocations: 7.984 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.1683, allocations: 11.94 kB / 476.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1683, allocations: 4 kB / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1685, allocations: 183.5 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1685, allocations: 0 / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.169, allocations: 23.98 kB / 477.1 MB, free: 6.879 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.001605/0.1706, allocations: 451.4 kB / 477.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.171, allocations: 75.89 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.171, allocations: 0 / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1712, allocations: 35.98 kB / 477.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1717, allocations: 27.05 kB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.1725, allocations: 298.7 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1729, allocations: 0.7197 MB / 478.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.173, allocations: 20.64 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1731, allocations: 11.44 kB / 478.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1731, allocations: 0 / 478.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Templates: time 0.005875/0.179, allocations: 1.374 MB / 480.1 MB, free: 4.012 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches