Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001139/0.00114, allocations: 195 kB / 17.98 MB, free: 5.027 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.601/1.601, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2542/0.2542, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 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.001515/0.001516, allocations: 69.33 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 57.78 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002954/0.1618, allocations: 1.54 MB / 443.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.1624, allocations: 323.5 kB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.1625, allocations: 0 / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1628, allocations: 79.77 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.163, allocations: 59.73 kB / 444 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1632, allocations: 75.83 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1634, allocations: 67.83 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1636, allocations: 15.94 kB / 444.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.1636, allocations: 35.83 kB / 444.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1637, allocations: 47.88 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1638, allocations: 3.938 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.1638, allocations: 36 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1639, allocations: 15.98 kB / 444.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1639, allocations: 23.75 kB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1641, allocations: 91.7 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1641, allocations: 0 / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1641, allocations: 0 / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1642, allocations: 0 / 444.4 MB, free: 3.754 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.0005155/0.1647, allocations: 395 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1647, allocations: 15.89 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1648, allocations: 12.84 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.165, allocations: 197 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.165, allocations: 4.375 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.165, allocations: 384 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1652, allocations: 53.81 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1652, allocations: 0 / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1652, allocations: 0 / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1652, allocations: 0 / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.1653, allocations: 31.84 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1657, allocations: 284.9 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1659, allocations: 42.56 kB / 445.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.166, allocations: 12.95 kB / 445.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.166, allocations: 3.984 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.166, allocations: 34.5 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.166, allocations: 4 kB / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005322/0.1666, allocations: 145.2 kB / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.1666, allocations: 55.34 kB / 445.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1668, allocations: 202.2 kB / 445.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1668, allocations: 25.7 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.1668, allocations: 108.1 kB / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1669, allocations: 19.66 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1669, allocations: 21.66 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.167, allocations: 326.8 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.167, allocations: 19.98 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.1671, allocations: 15.98 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1672, allocations: 49.02 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1672, allocations: 4 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.1674, allocations: 81.52 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1674, allocations: 5.25 kB / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1674, allocations: 0 / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1674, allocations: 0 / 446.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.1675, allocations: 15.98 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1675, allocations: 0 / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.1675, allocations: 8 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1675, allocations: 7.984 kB / 446.5 MB, free: 1.375 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 8.604e-05/0.1676, allocations: 129.7 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.1677, allocations: 7.906 kB / 446.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1679, allocations: 93.91 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1679, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1679, allocations: 3.984 kB / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1679, allocations: 0 / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1682, allocations: 350.5 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1682, allocations: 0 / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.1683, allocations: 19.92 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1683, allocations: 0 / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1683, allocations: 0 / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1683, allocations: 3.938 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1683, allocations: 192 / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1685, allocations: 195.3 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1685, allocations: 81.3 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1686, allocations: 0 / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.1686, allocations: 7.938 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1687, allocations: 11.97 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.1687, allocations: 0 / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.1688, allocations: 155.2 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1688, allocations: 0 / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.169, allocations: 24 kB / 447.6 MB, free: 216 kB / 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.0009781/0.17, allocations: 404.2 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1702, allocations: 47.91 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1702, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.1703, allocations: 23.98 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1706, allocations: 27.83 kB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.1711, allocations: 206.1 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1714, allocations: 0.7041 MB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.1714, allocations: 7.984 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.1715, allocations: 11.44 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1715, allocations: 3.938 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003932/0.1754, allocations: 1.115 MB / 450.1 MB, free: 13.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches