Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.00098, 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.001557/0.001557, allocations: 174.9 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.203/2.203, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4914/0.4914, allocations: 43.58 MB / 314.6 MB, free: 8.773 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.0005198/0.0005198, allocations: 14.97 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001957/0.1554, allocations: 1.263 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005812/0.156, allocations: 295.9 kB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1561, allocations: 0 / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1564, allocations: 67.84 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1565, allocations: 59.81 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1568, allocations: 71.89 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1569, allocations: 55.83 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.157, allocations: 23.97 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.157, allocations: 23.86 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.1571, allocations: 35.89 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1572, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.1572, allocations: 23.98 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1573, allocations: 15.94 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.1573, allocations: 37.64 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1574, allocations: 68.11 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1575, allocations: 8 kB / 444.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1575, allocations: 3.938 kB / 444.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1575, allocations: 0 / 444.8 MB, free: 10.96 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.000457/0.1579, allocations: 371 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.158, allocations: 12.03 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.158, allocations: 11.86 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1582, allocations: 186.9 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1582, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1583, allocations: 15.88 kB / 445.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1584, allocations: 49.69 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1584, allocations: 3.906 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1584, allocations: 4 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1585, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.1586, allocations: 35.92 kB / 445.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.159, allocations: 288.9 kB / 445.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1592, allocations: 50.48 kB / 445.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1592, allocations: 20.86 kB / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1593, allocations: 0 / 445.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1593, allocations: 38.64 kB / 445.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1593, allocations: 0 / 445.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005533/0.1599, allocations: 165.2 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1599, allocations: 55.41 kB / 446.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1601, allocations: 190.2 kB / 446.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1601, allocations: 25.7 kB / 446.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.1602, allocations: 108 kB / 446.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1602, allocations: 11.81 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1602, allocations: 3.938 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1604, allocations: 326.8 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.1604, allocations: 23.98 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.1605, allocations: 23.98 kB / 446.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.1606, allocations: 27.98 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1606, allocations: 7.984 kB / 446.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.1608, allocations: 89.52 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1608, allocations: 11.95 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1608, allocations: 0 / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1608, allocations: 0 / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.1609, allocations: 15.98 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1609, allocations: 7.984 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.1609, allocations: 8 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.161, allocations: 4 kB / 447 MB, free: 8.594 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 8.838e-05/0.1611, allocations: 125.8 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.1611, allocations: 7.906 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1613, allocations: 117.8 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1613, allocations: 0 / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1614, allocations: 0 / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1614, allocations: 0 / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1618, allocations: 370.8 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1618, allocations: 3.938 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.1619, allocations: 23.94 kB / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1619, allocations: 0 / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1619, allocations: 3.938 kB / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1619, allocations: 0 / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1619, allocations: 0 / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1621, allocations: 191.4 kB / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1622, allocations: 85.02 kB / 447.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1622, allocations: 7.953 kB / 447.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.1623, allocations: 7.984 kB / 447.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1623, allocations: 4 kB / 447.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1623, allocations: 4 kB / 447.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1625, allocations: 147.9 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1625, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1627, allocations: 23.94 kB / 448.1 MB, free: 7.387 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.001067/0.1638, allocations: 409.2 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.164, allocations: 59.97 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1641, allocations: 0 / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.1641, allocations: 31.97 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1645, allocations: 15.94 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.165, allocations: 229.1 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1655, allocations: 0.7004 MB / 449.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.1655, allocations: 11.98 kB / 449.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1656, allocations: 19.38 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1656, allocations: 0 / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of Templates: time 0.004109/0.1697, allocations: 1.041 MB / 450.6 MB, free: 4.859 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches