Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 96.94 kB / 16.02 MB, free: 84 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.001675/0.001675, allocations: 184.1 kB / 16.92 MB, free: 6.934 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.111/2.111, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.484/0.484, allocations: 43.57 MB / 315 MB, free: 9.109 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.0005527/0.0005527, allocations: 12.56 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1574, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002248/0.1597, allocations: 1.291 MB / 444.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.1605, allocations: 307.7 kB / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.1606, allocations: 3.938 kB / 445 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.161, allocations: 83.83 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1612, allocations: 63.84 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1614, allocations: 67.84 kB / 445.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1617, allocations: 71.89 kB / 445.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1618, allocations: 24.39 kB / 445.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.1619, allocations: 31.89 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.162, allocations: 55.75 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1621, allocations: 7.938 kB / 445.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1622, allocations: 24 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.1622, allocations: 23.91 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.1623, allocations: 57.45 kB / 445.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1625, allocations: 103.6 kB / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1626, allocations: 0 / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1626, allocations: 0 / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1626, allocations: 0 / 445.6 MB, free: 10.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006081/0.1632, allocations: 399.1 kB / 446 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1632, allocations: 8.031 kB / 446 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1633, allocations: 12.75 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1635, allocations: 204.8 kB / 446.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1636, allocations: 4.375 kB / 446.3 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1636, allocations: 8.375 kB / 446.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1638, allocations: 65.61 kB / 446.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1638, allocations: 0 / 446.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1638, allocations: 0 / 446.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1638, allocations: 0 / 446.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1639, allocations: 35.97 kB / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.1644, allocations: 308.7 kB / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1645, allocations: 54.56 kB / 446.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.1646, allocations: 20.97 kB / 446.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1646, allocations: 7.984 kB / 446.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.1647, allocations: 34.56 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1647, allocations: 0 / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006714/0.1654, allocations: 205.5 kB / 447 MB, free: 9.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.1654, allocations: 55.41 kB / 447 MB, free: 9.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1657, allocations: 234.2 kB / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1657, allocations: 25.7 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.1658, allocations: 112 kB / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1658, allocations: 31.58 kB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1658, allocations: 9.719 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.166, allocations: 326.8 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1661, allocations: 31.98 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.1662, allocations: 32.03 kB / 447.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1663, allocations: 68.84 kB / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1663, allocations: 0 / 447.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002014/0.1665, allocations: 113.5 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1666, allocations: 4 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1666, allocations: 8 kB / 448 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1666, allocations: 3.938 kB / 448 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1667, allocations: 23.98 kB / 448 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1667, allocations: 3.938 kB / 448 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1668, allocations: 7.938 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1668, allocations: 7.984 kB / 448.1 MB, free: 8.043 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 (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.0001083/0.1669, allocations: 129.8 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1669, allocations: 7.906 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1672, allocations: 134.9 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1672, allocations: 0 / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.1673, allocations: 3.984 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1673, allocations: 3.938 kB / 448.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.1678, allocations: 398.5 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1678, allocations: 0 / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.1679, allocations: 23.92 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1679, allocations: 3.938 kB / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1679, allocations: 4 kB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1679, allocations: 0 / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1679, allocations: 4 kB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1682, allocations: 199.8 kB / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.1682, allocations: 92.91 kB / 449 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1682, allocations: 3.938 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1683, allocations: 16 kB / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1684, allocations: 3.984 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1684, allocations: 4 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1685, allocations: 172.2 kB / 449.2 MB, free: 6.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1685, allocations: 3.938 kB / 449.2 MB, free: 6.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1688, allocations: 23.98 kB / 449.3 MB, free: 6.727 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 (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.0009846/0.1698, allocations: 401.8 kB / 449.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.17, allocations: 75.94 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.17, allocations: 0 / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.1701, allocations: 39.92 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1705, allocations: 23.92 kB / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.1711, allocations: 281.3 kB / 450.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1714, allocations: 0.7199 MB / 450.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.1715, allocations: 8.672 kB / 450.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1715, allocations: 11.44 kB / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1715, allocations: 0 / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of Templates: time 0.004017/0.1755, allocations: 1.14 MB / 451.9 MB, free: 4.012 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches