Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108.5 kB / 17.04 MB, free: 6.066 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.001157/0.001157, allocations: 196 kB / 17.98 MB, free: 5.145 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.824/1.824, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2834/0.2834, allocations: 43.53 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.001503/0.001503, allocations: 78.42 kB / 384.2 MB, free: 56.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1588, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003198/0.162, allocations: 1.546 MB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.1626, allocations: 315.5 kB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.1627, allocations: 0 / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.163, allocations: 19.86 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1631, allocations: 39.83 kB / 443.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1634, allocations: 75.72 kB / 444 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1635, allocations: 47.91 kB / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1636, allocations: 19.92 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1637, allocations: 19.92 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.1638, allocations: 19.86 kB / 444.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1638, allocations: 4 kB / 444.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.1639, allocations: 27.94 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.164, allocations: 19.91 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.164, allocations: 19.88 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1642, allocations: 67.8 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1642, allocations: 4 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1642, allocations: 0 / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1642, allocations: 0 / 444.2 MB, free: 3.918 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.0005247/0.1647, allocations: 379.1 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1648, allocations: 15.89 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1648, allocations: 8.844 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.165, allocations: 192.2 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1651, allocations: 384 / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1651, allocations: 8.375 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1652, allocations: 53.8 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1652, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1653, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1653, allocations: 0 / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.1654, allocations: 23.97 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1657, allocations: 280.8 kB / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1659, allocations: 42.56 kB / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.166, allocations: 20.94 kB / 445.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.166, allocations: 0 / 445.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.166, allocations: 34.5 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.166, allocations: 0 / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000514/0.1666, allocations: 137.3 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1666, allocations: 55.41 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1667, allocations: 138.1 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1667, allocations: 25.7 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.1668, allocations: 96.12 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1668, allocations: 19.66 kB / 445.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1669, allocations: 13.72 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.167, allocations: 330.8 kB / 446 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.167, allocations: 19.98 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.1671, allocations: 19.92 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.1672, allocations: 44.83 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1672, allocations: 0 / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001429/0.1673, allocations: 81.67 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1674, allocations: 4 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1674, allocations: 0 / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1674, allocations: 0 / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.1675, allocations: 19.92 kB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1675, allocations: 0 / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.1675, allocations: 8.156 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1675, allocations: 7.938 kB / 446.2 MB, free: 1.652 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.431e-05/0.1676, allocations: 121.7 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1677, allocations: 11.98 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1679, allocations: 81.97 kB / 446.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1679, allocations: 4 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1679, allocations: 0 / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1679, allocations: 0 / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1683, allocations: 346.4 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1683, allocations: 8 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.1683, allocations: 11.98 kB / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1684, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1684, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1684, allocations: 3.938 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1684, allocations: 4 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1686, allocations: 175.4 kB / 447 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1686, allocations: 85.11 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1687, allocations: 3.984 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.1687, allocations: 7.938 kB / 447.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1688, allocations: 0 / 447.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1688, allocations: 8 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.1689, allocations: 111.2 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 3.938 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1691, allocations: 8 kB / 447.2 MB, free: 0.5742 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.000952/0.17, allocations: 406.2 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1702, allocations: 43.97 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1703, allocations: 0 / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.1703, allocations: 27.92 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1707, allocations: 19.27 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.1711, allocations: 161.5 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1714, allocations: 0.6924 MB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.1715, allocations: 16.2 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1715, allocations: 19.38 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1715, allocations: 0 / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003951/0.1755, allocations: 1.086 MB / 449.7 MB, free: 14.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches