Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01221/0.01221, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.002565/0.002566, allocations: 193.8 kB / 16.79 MB, free: 6.238 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.893/1.893, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4132/0.4132, allocations: 43.5 MB / 313.5 MB, free: 8.223 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.001483/0.001483, allocations: 66.56 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003363/0.1664, allocations: 1.626 MB / 441.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1679, allocations: 0.9103 MB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.1679, allocations: 0 / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1682, allocations: 15.92 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1684, allocations: 31.92 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1686, allocations: 75.84 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1688, allocations: 47.84 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1689, allocations: 19.97 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.1689, allocations: 23.86 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1691, allocations: 27.84 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1691, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1692, allocations: 43.98 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1693, allocations: 15.97 kB / 442.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1694, allocations: 19.88 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1696, allocations: 88 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1696, allocations: 3.938 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1696, allocations: 0 / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1696, allocations: 0 / 442.8 MB, free: 11.65 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.0005475/0.1702, allocations: 387.2 kB / 443.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1702, allocations: 12.03 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1703, allocations: 4.938 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1705, allocations: 184.2 kB / 443.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1705, allocations: 8.375 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1705, allocations: 4.281 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1707, allocations: 63.53 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1707, allocations: 0 / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1707, allocations: 0 / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1707, allocations: 4 kB / 443.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.1708, allocations: 27.91 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1712, allocations: 268.9 kB / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.1715, allocations: 42.55 kB / 443.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.1715, allocations: 16.86 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1716, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1716, allocations: 38.5 kB / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1716, allocations: 0 / 443.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005727/0.1722, allocations: 129.5 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1722, allocations: 85.03 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1724, allocations: 129.8 kB / 444.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1724, allocations: 25.7 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.1725, allocations: 107.9 kB / 444.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1725, allocations: 11.81 kB / 444.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1726, allocations: 17.72 kB / 444.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1727, allocations: 326.8 kB / 444.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.1728, allocations: 15.98 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.1729, allocations: 29.89 kB / 444.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.173, allocations: 52.86 kB / 444.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.173, allocations: 0 / 444.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.1732, allocations: 85.52 kB / 444.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1732, allocations: 4 kB / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1732, allocations: 0 / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1732, allocations: 0 / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.1733, allocations: 15.98 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1733, allocations: 0 / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1734, allocations: 11.98 kB / 444.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1734, allocations: 0 / 444.8 MB, free: 9.344 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 9.323e-05/0.1735, allocations: 121.8 kB / 444.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1735, allocations: 4 kB / 444.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.1738, allocations: 89.5 kB / 445 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1738, allocations: 4 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1738, allocations: 0 / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1738, allocations: 4 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1742, allocations: 350.4 kB / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1742, allocations: 0 / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.1743, allocations: 12.19 kB / 445.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1743, allocations: 4 kB / 445.4 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1743, allocations: 0 / 445.4 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.1743, allocations: 11.86 kB / 445.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1743, allocations: 0 / 445.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1746, allocations: 171.8 kB / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.123e-05/0.1746, allocations: 85.02 kB / 445.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1747, allocations: 0 / 445.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1747, allocations: 11.92 kB / 445.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1748, allocations: 7.984 kB / 445.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1748, allocations: 4 kB / 445.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.1749, allocations: 107.2 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1749, allocations: 3.938 kB / 445.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1751, allocations: 20 kB / 445.8 MB, free: 8.25 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.001037/0.1762, allocations: 434.3 kB / 446.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1764, allocations: 51.91 kB / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1764, allocations: 0 / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1765, allocations: 23.98 kB / 446.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1768, allocations: 23.86 kB / 446.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.1772, allocations: 179.1 kB / 446.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1776, allocations: 0.6926 MB / 447.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.1776, allocations: 7.984 kB / 447.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.1777, allocations: 19.42 kB / 447.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1777, allocations: 0 / 447.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of Templates: time 0.003846/0.1816, allocations: 1.296 MB / 448.5 MB, free: 5.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches