Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 97.72 kB / 16.02 MB, free: 84 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.001544/0.001544, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.043/2.043, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.4223/0.4223, allocations: 43.57 MB / 315 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.0008481/0.0008478, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1688, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002602/0.1714, allocations: 1.282 MB / 444.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1725, allocations: 331.7 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1726, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008987/0.1735, allocations: 447.2 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.174, allocations: 247.5 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.1746, allocations: 135.8 kB / 445.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.1751, allocations: 159.7 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1753, allocations: 15.91 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1755, allocations: 103.8 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.1758, allocations: 199.6 kB / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1758, allocations: 4 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.1759, allocations: 23.94 kB / 446.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1761, allocations: 83.69 kB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.1763, allocations: 116.8 kB / 446.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1768, allocations: 235.3 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1768, allocations: 0 / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1769, allocations: 0 / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1769, allocations: 0 / 446.8 MB, free: 9.328 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.001257/0.1781, allocations: 0.5832 MB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1782, allocations: 12.03 kB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.1783, allocations: 40.47 kB / 447.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.1789, allocations: 292.2 kB / 447.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1789, allocations: 384 / 447.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.179, allocations: 4.375 kB / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1792, allocations: 57.8 kB / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1793, allocations: 3.984 kB / 447.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1793, allocations: 0 / 447.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1793, allocations: 0 / 447.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1794, allocations: 35.92 kB / 447.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.1801, allocations: 384.8 kB / 448.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1803, allocations: 34.56 kB / 448.2 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.1803, allocations: 16.92 kB / 448.2 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1804, allocations: 3.938 kB / 448.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1804, allocations: 42.48 kB / 448.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1804, allocations: 0 / 448.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.1807, allocations: 113.2 kB / 448.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1808, allocations: 51.41 kB / 448.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.1817, allocations: 0.8535 MB / 449.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1817, allocations: 25.7 kB / 449.3 MB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1819, allocations: 224.1 kB / 449.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.1819, allocations: 7.906 kB / 449.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1819, allocations: 9.719 kB / 449.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.1822, allocations: 358.7 kB / 449.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.1822, allocations: 20.02 kB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.1823, allocations: 8 kB / 449.9 MB, free: 5.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.1824, allocations: 36.77 kB / 450 MB, free: 5.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1824, allocations: 0 / 450 MB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001572/0.1825, allocations: 97.28 kB / 450.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1826, allocations: 8 kB / 450.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1826, allocations: 0 / 450.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1826, allocations: 0 / 450.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1827, allocations: 4 kB / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1827, allocations: 0 / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1827, allocations: 15.83 kB / 450.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1828, allocations: 0 / 450.1 MB, free: 5.797 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 (2): * Single equations (assignments): 2 * 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.0002088/0.183, allocations: 213.8 kB / 450.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.183, allocations: 39.53 kB / 450.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.1832, allocations: 120.5 kB / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1833, allocations: 0 / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1833, allocations: 0 / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1833, allocations: 0 / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.1836, allocations: 285.5 kB / 450.7 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1836, allocations: 4.031 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.1836, allocations: 4 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1836, allocations: 0 / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1836, allocations: 0 / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1836, allocations: 4 kB / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1836, allocations: 0 / 450.7 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1839, allocations: 210.8 kB / 450.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.184, allocations: 104.6 kB / 451 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.184, allocations: 3.984 kB / 451.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1841, allocations: 8 kB / 451.1 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1841, allocations: 0 / 451.1 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1841, allocations: 4 kB / 451.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006322/0.1848, allocations: 0.6472 MB / 451.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1848, allocations: 0 / 451.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.185, allocations: 23.92 kB / 451.7 MB, free: 4.047 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 (2): * Single equations (assignments): 2 * 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.0008577/0.1859, allocations: 354.7 kB / 452.1 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.186, allocations: 31.97 kB / 452.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1861, allocations: 0 / 452.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/0.1861, allocations: 19.94 kB / 452.1 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1865, allocations: 17.95 kB / 452.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1876, allocations: 0.8446 MB / 453 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.1881, allocations: 0.8262 MB / 453.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.1882, allocations: 7.984 kB / 453.8 MB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.1882, allocations: 15.42 kB / 453.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1882, allocations: 0 / 453.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of Templates: time 0.004158/0.1924, allocations: 1.167 MB / 455 MB, free: 0.7383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches