Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 101.8 kB / 16.27 MB, free: 6.41 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.001213/0.001213, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2287/0.2287, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001589/0.001589, allocations: 71.28 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1557, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003416/0.1592, allocations: 1.555 MB / 442.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.1599, allocations: 311.5 kB / 442.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1601, allocations: 0 / 442.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1605, allocations: 95.73 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1608, allocations: 71.8 kB / 442.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.161, allocations: 71.72 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1612, allocations: 67.88 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1613, allocations: 15.92 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.1614, allocations: 27.92 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1615, allocations: 55.81 kB / 442.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1615, allocations: 4 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.1616, allocations: 35.92 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1617, allocations: 15.92 kB / 442.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.1617, allocations: 35.73 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1619, allocations: 87.73 kB / 442.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1619, allocations: 3.984 kB / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1619, allocations: 0 / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1619, allocations: 0 / 442.9 MB, free: 4.449 MB / 318.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.0005352/0.1625, allocations: 403 kB / 443.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1625, allocations: 11.89 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1626, allocations: 8.844 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1628, allocations: 206.1 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1628, allocations: 384 / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1629, allocations: 8.312 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.163, allocations: 53.75 kB / 443.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.163, allocations: 0 / 443.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1631, allocations: 0 / 443.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1631, allocations: 8 kB / 443.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.1632, allocations: 19.98 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1635, allocations: 280.9 kB / 443.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1638, allocations: 46.5 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1638, allocations: 12.86 kB / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1639, allocations: 0 / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1639, allocations: 42.64 kB / 444 MB, free: 3.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1639, allocations: 0 / 444 MB, free: 3.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006084/0.1645, allocations: 141.2 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1646, allocations: 55.34 kB / 444.2 MB, free: 3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1648, allocations: 223.6 kB / 444.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1648, allocations: 25.7 kB / 444.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1649, allocations: 104 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1649, allocations: 27.72 kB / 444.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.1649, allocations: 17.72 kB / 444.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1651, allocations: 326.8 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.1651, allocations: 16.05 kB / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.1652, allocations: 27.98 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1653, allocations: 44.78 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1653, allocations: 0 / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001578/0.1655, allocations: 81.84 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1655, allocations: 5.25 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1655, allocations: 0 / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.1656, allocations: 0 / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1657, allocations: 19.98 kB / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1657, allocations: 0 / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.1657, allocations: 8 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1657, allocations: 3.984 kB / 445.1 MB, free: 2.047 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/0.1658, allocations: 137.6 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1659, allocations: 11.81 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.1661, allocations: 102.6 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1661, allocations: 0 / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1661, allocations: 3.938 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1661, allocations: 0 / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1665, allocations: 354.7 kB / 445.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1665, allocations: 4.062 kB / 445.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1665, allocations: 15.98 kB / 445.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1665, allocations: 0 / 445.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1665, allocations: 4 kB / 445.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1666, allocations: 3.938 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1666, allocations: 0 / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1667, allocations: 175.4 kB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1668, allocations: 88.91 kB / 446 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1668, allocations: 0 / 446 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.1669, allocations: 7.938 kB / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1669, allocations: 19.92 kB / 446 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1669, allocations: 0 / 446 MB, free: 1.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1671, allocations: 168.2 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1671, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1673, allocations: 20 kB / 446.2 MB, free: 0.8516 MB / 318.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 (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.0009481/0.1683, allocations: 401.5 kB / 446.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1685, allocations: 51.97 kB / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1685, allocations: 0 / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.1686, allocations: 27.92 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.169, allocations: 15.98 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1695, allocations: 230.8 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1698, allocations: 0.7078 MB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.1699, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1699, allocations: 15.42 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1699, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Templates: time 0.004316/0.1742, allocations: 1.124 MB / 448.8 MB, free: 14.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches