Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 96.7 kB / 15.7 MB, free: 468 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.002179/0.002179, allocations: 172.7 kB / 16.58 MB, free: 6.844 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.195/2.195, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4513/0.4513, allocations: 43.58 MB / 314.6 MB, free: 8.754 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.0005752/0.0005752, allocations: 18.97 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002069/0.156, allocations: 1.263 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005898/0.1566, allocations: 287.9 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.1567, allocations: 0 / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.157, allocations: 59.84 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1572, allocations: 55.81 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1574, allocations: 63.91 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1575, allocations: 55.83 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1576, allocations: 15.98 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.1577, allocations: 23.91 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1578, allocations: 39.83 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1578, allocations: 4 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.1579, allocations: 20 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.158, allocations: 19.91 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.158, allocations: 33.64 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1581, allocations: 68.12 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1582, allocations: 3.938 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1582, allocations: 4 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1582, allocations: 0 / 444.8 MB, free: 11 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.0005178/0.1587, allocations: 379 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1588, allocations: 12.02 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1588, allocations: 11.86 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.159, allocations: 186.9 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1591, allocations: 8 kB / 445.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1591, allocations: 3.984 kB / 445.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1592, allocations: 65.55 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1593, allocations: 3.906 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1593, allocations: 4 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1593, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.1594, allocations: 31.94 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1598, allocations: 277 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1601, allocations: 42.5 kB / 445.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.1601, allocations: 16.94 kB / 445.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1601, allocations: 4 kB / 445.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1602, allocations: 34.56 kB / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1602, allocations: 4 kB / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005672/0.1608, allocations: 157.2 kB / 446 MB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1608, allocations: 55.41 kB / 446.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.161, allocations: 194.2 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.161, allocations: 25.7 kB / 446.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.1611, allocations: 104 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1611, allocations: 15.75 kB / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1611, allocations: 0 / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1613, allocations: 318.8 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.1614, allocations: 27.98 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.1614, allocations: 23.98 kB / 446.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.536e-05/0.1615, allocations: 19.98 kB / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1615, allocations: 0 / 446.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001864/0.1617, allocations: 97.52 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1617, allocations: 7.953 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1617, allocations: 0 / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1618, allocations: 0 / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.1618, allocations: 15.98 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1618, allocations: 0 / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.1619, allocations: 12 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1619, allocations: 0 / 446.9 MB, free: 8.668 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 9.755e-05/0.162, allocations: 121.8 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.162, allocations: 7.906 kB / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1623, allocations: 109.8 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1623, allocations: 4 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1623, allocations: 0 / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1623, allocations: 4 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.1627, allocations: 354.8 kB / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1627, allocations: 0 / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.1628, allocations: 31.88 kB / 447.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1628, allocations: 0 / 447.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1628, allocations: 0 / 447.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1628, allocations: 3.938 kB / 447.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1629, allocations: 4 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1631, allocations: 179.4 kB / 447.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.1632, allocations: 89 kB / 447.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1632, allocations: 3.953 kB / 447.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1632, allocations: 8 kB / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1633, allocations: 7.984 kB / 447.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1633, allocations: 4 kB / 447.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1634, allocations: 147.9 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.1635, allocations: 4 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1637, allocations: 15.94 kB / 448 MB, free: 7.484 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.0009414/0.1646, allocations: 413.3 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1648, allocations: 55.91 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1649, allocations: 4 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1649, allocations: 27.98 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1652, allocations: 11.98 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1657, allocations: 221 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.166, allocations: 0.6965 MB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.1661, allocations: 11.92 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.1661, allocations: 15.44 kB / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1661, allocations: 0 / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003699/0.1698, allocations: 1.022 MB / 450.5 MB, free: 4.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches