Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 104 kB / 15.98 MB, free: 6.352 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.001574/0.001574, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.833/1.833, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4349/0.4349, allocations: 43.49 MB / 313.6 MB, free: 8.32 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.001498/0.001498, allocations: 74.55 kB / 382.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1588, allocations: 57.78 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.004201/0.1631, allocations: 1.61 MB / 441.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.1638, allocations: 311.6 kB / 441.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.1639, allocations: 7.938 kB / 441.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1642, allocations: 71.83 kB / 442 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1645, allocations: 55.88 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1647, allocations: 63.86 kB / 442.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1649, allocations: 67.88 kB / 442.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.165, allocations: 15.98 kB / 442.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1652, allocations: 39.83 kB / 442.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1653, allocations: 55.77 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1653, allocations: 4 kB / 442.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.1654, allocations: 31.98 kB / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1655, allocations: 15.92 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.1655, allocations: 31.75 kB / 442.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1658, allocations: 87.94 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1658, allocations: 0 / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1658, allocations: 0 / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1658, allocations: 0 / 442.5 MB, free: 12.04 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.000619/0.1664, allocations: 402.4 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1665, allocations: 11.89 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1666, allocations: 8.844 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1668, allocations: 200 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1669, allocations: 384 / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1669, allocations: 4.375 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.167, allocations: 53.8 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1671, allocations: 0 / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1671, allocations: 4 kB / 443.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1671, allocations: 0 / 443.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1672, allocations: 27.97 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1676, allocations: 280.8 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.1678, allocations: 42.56 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1679, allocations: 20.94 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1679, allocations: 0 / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.168, allocations: 30.56 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.168, allocations: 0 / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.1685, allocations: 149.1 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1687, allocations: 55.41 kB / 443.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1689, allocations: 198.2 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1689, allocations: 33.64 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.169, allocations: 108.1 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.169, allocations: 11.72 kB / 444.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.1691, allocations: 17.72 kB / 444.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1692, allocations: 326.8 kB / 444.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1693, allocations: 23.98 kB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1694, allocations: 23.92 kB / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1695, allocations: 41.02 kB / 444.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1695, allocations: 0 / 444.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001794/0.1697, allocations: 85.58 kB / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1697, allocations: 4 kB / 444.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1697, allocations: 4 kB / 444.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1698, allocations: 4 kB / 444.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.1698, allocations: 15.92 kB / 444.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1698, allocations: 0 / 444.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1699, allocations: 7.984 kB / 444.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1699, allocations: 3.938 kB / 444.6 MB, free: 9.664 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.17, allocations: 129.8 kB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.17, allocations: 7.906 kB / 444.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1703, allocations: 101.9 kB / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1703, allocations: 0 / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1703, allocations: 0 / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1703, allocations: 4 kB / 444.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1707, allocations: 346.5 kB / 445.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1707, allocations: 4 kB / 445.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.1708, allocations: 11.98 kB / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1708, allocations: 4 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1708, allocations: 0 / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1708, allocations: 3.938 kB / 445.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1709, allocations: 4 kB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.1711, allocations: 187.5 kB / 445.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1711, allocations: 81.02 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1712, allocations: 4 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.1712, allocations: 7.938 kB / 445.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1713, allocations: 11.98 kB / 445.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1713, allocations: 3.938 kB / 445.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1714, allocations: 160 kB / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1715, allocations: 0 / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1717, allocations: 20 kB / 445.7 MB, free: 8.488 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 (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.0009742/0.1727, allocations: 398.6 kB / 446.1 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1729, allocations: 55.91 kB / 446.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1729, allocations: 4 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.173, allocations: 19.98 kB / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1735, allocations: 23.84 kB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.1741, allocations: 234 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.1746, allocations: 0.7041 MB / 447.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.47e-05/0.1746, allocations: 7.984 kB / 447.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1747, allocations: 11.44 kB / 447.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1747, allocations: 4 kB / 447.1 MB, free: 7.012 MB / 382.1 MB Notification: Performance of Templates: time 0.004669/0.1793, allocations: 1.074 MB / 448.2 MB, free: 5.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches