Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 88.19 kB / 15.7 MB, free: 460 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.001162/0.001162, allocations: 175 kB / 16.58 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 2.109/2.109, allocations: 205.4 MB / 222.7 MB, free: 5.883 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.4635/0.4635, allocations: 43.57 MB / 314.6 MB, free: 8.648 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.0005258/0.0005258, allocations: 22.95 kB / 384 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00201/0.1546, allocations: 1.256 MB / 444.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1561, allocations: 0.8792 MB / 445 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1561, allocations: 0 / 445 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1564, allocations: 11.94 kB / 445 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1566, allocations: 39.84 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1569, allocations: 71.86 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.157, allocations: 43.84 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1571, allocations: 23.95 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.1572, allocations: 11.88 kB / 445.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1574, allocations: 19.92 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1574, allocations: 4 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1575, allocations: 43.97 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.1576, allocations: 15.92 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.1576, allocations: 29.7 kB / 445.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1578, allocations: 64.12 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.1578, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1578, allocations: 3.938 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1579, allocations: 0 / 445.3 MB, free: 10.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006027/0.1585, allocations: 363.2 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1585, allocations: 16.02 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1586, allocations: 11.84 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1588, allocations: 187 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1589, allocations: 4 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1589, allocations: 4 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1591, allocations: 63.39 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1591, allocations: 7.844 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1592, allocations: 0 / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1592, allocations: 0 / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.1593, allocations: 31.94 kB / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1598, allocations: 269 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.16, allocations: 50.5 kB / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.16, allocations: 24.88 kB / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1601, allocations: 0 / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1601, allocations: 38.56 kB / 446.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1601, allocations: 0 / 446.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005584/0.1607, allocations: 157.3 kB / 446.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.1608, allocations: 77.11 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1609, allocations: 133.8 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1609, allocations: 25.7 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.161, allocations: 95.98 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.161, allocations: 19.8 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.161, allocations: 0 / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1612, allocations: 314.8 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.1613, allocations: 23.98 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.1613, allocations: 37.7 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.1614, allocations: 23.98 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1614, allocations: 0 / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001699/0.1616, allocations: 85.52 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1616, allocations: 15.97 kB / 447.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1616, allocations: 4 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1617, allocations: 0 / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.1617, allocations: 15.94 kB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1617, allocations: 0 / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.1618, allocations: 7.984 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1618, allocations: 4 kB / 447.4 MB, free: 8.211 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001302/0.1619, allocations: 113.8 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.162, allocations: 4 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.1622, allocations: 109.4 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1622, allocations: 0 / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1622, allocations: 0 / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1622, allocations: 0 / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1626, allocations: 350.9 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1627, allocations: 0 / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.1627, allocations: 27.88 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1627, allocations: 0 / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1627, allocations: 8 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1628, allocations: 4 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1628, allocations: 0 / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.163, allocations: 175.5 kB / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.163, allocations: 85 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1631, allocations: 7.953 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1631, allocations: 8 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1632, allocations: 7.984 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1632, allocations: 7.938 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.1633, allocations: 99.27 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1633, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1635, allocations: 23.98 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001023/0.1646, allocations: 453.8 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1648, allocations: 51.97 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1648, allocations: 4 kB / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.1648, allocations: 27.98 kB / 448.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1652, allocations: 15.73 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.1656, allocations: 168.7 kB / 449.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1659, allocations: 0.6887 MB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1659, allocations: 7.984 kB / 449.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.166, allocations: 15.44 kB / 449.8 MB, free: 5.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.166, allocations: 0 / 449.8 MB, free: 5.66 MB / 382.1 MB Notification: Performance of Templates: time 0.00382/0.1698, allocations: 1.275 MB / 451.1 MB, free: 4.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches