Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 103 kB / 16.02 MB, free: 76 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.000994/0.000994, allocations: 185.4 kB / 16.92 MB, free: 6.672 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.952/1.952, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.541/0.541, allocations: 43.58 MB / 315 MB, free: 9.043 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.0006417/0.0006418, allocations: 15.98 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1737, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002211/0.176, allocations: 1.271 MB / 444.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007125/0.1767, allocations: 315.6 kB / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.1768, allocations: 0 / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.177, allocations: 19.92 kB / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1772, allocations: 31.91 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1774, allocations: 67.86 kB / 445.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1776, allocations: 47.84 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1777, allocations: 19.98 kB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.1778, allocations: 19.84 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1778, allocations: 19.92 kB / 445.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1779, allocations: 0 / 445.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.961e-05/0.1779, allocations: 24 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.178, allocations: 19.92 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.1781, allocations: 49.5 kB / 445.3 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1782, allocations: 79.94 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1783, allocations: 0 / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1783, allocations: 4 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1783, allocations: 0 / 445.4 MB, free: 10.91 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.0005803/0.1789, allocations: 375.2 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1789, allocations: 12.03 kB / 445.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.179, allocations: 8.844 kB / 445.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1792, allocations: 184.2 kB / 446 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1792, allocations: 384 / 446 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1792, allocations: 4.375 kB / 446 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1794, allocations: 57.8 kB / 446 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1794, allocations: 7.938 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1794, allocations: 0 / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1794, allocations: 0 / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.1795, allocations: 23.98 kB / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1799, allocations: 288.7 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1802, allocations: 42.5 kB / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1802, allocations: 24.94 kB / 446.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1802, allocations: 3.938 kB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1803, allocations: 34.56 kB / 446.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1803, allocations: 0 / 446.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005946/0.1809, allocations: 161.3 kB / 446.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1809, allocations: 51.41 kB / 446.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1811, allocations: 165.8 kB / 446.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1811, allocations: 25.7 kB / 446.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.1812, allocations: 92.14 kB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1813, allocations: 23.73 kB / 447 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1813, allocations: 9.719 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1814, allocations: 326.8 kB / 447.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.1815, allocations: 23.98 kB / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.1816, allocations: 23.98 kB / 447.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1817, allocations: 49.03 kB / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1817, allocations: 4 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001826/0.1819, allocations: 93.5 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1819, allocations: 4 kB / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1819, allocations: 0 / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.182, allocations: 4 kB / 447.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.182, allocations: 15.98 kB / 447.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1821, allocations: 7.938 kB / 447.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1821, allocations: 8 kB / 447.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.1821, allocations: 0 / 447.5 MB, free: 8.578 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.537e-05/0.1822, allocations: 129.8 kB / 447.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1822, allocations: 8.188 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.1825, allocations: 105.8 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1825, allocations: 3.984 kB / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1825, allocations: 0 / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1825, allocations: 0 / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.183, allocations: 354.5 kB / 448.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.183, allocations: 0 / 448.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.1831, allocations: 19.92 kB / 448.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1831, allocations: 0 / 448.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1831, allocations: 0 / 448.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1831, allocations: 3.938 kB / 448.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1831, allocations: 4 kB / 448.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1833, allocations: 187.6 kB / 448.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1834, allocations: 85.02 kB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1834, allocations: 4 kB / 448.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1835, allocations: 11.92 kB / 448.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1836, allocations: 4 kB / 448.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1836, allocations: 4 kB / 448.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.1837, allocations: 134.8 kB / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1837, allocations: 0 / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1839, allocations: 20 kB / 448.6 MB, free: 7.414 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.0009304/0.1848, allocations: 405 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1851, allocations: 55.97 kB / 449 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1851, allocations: 0 / 449 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.1851, allocations: 27.98 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1855, allocations: 15.98 kB / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1859, allocations: 209.3 kB / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1862, allocations: 0.6965 MB / 450 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1863, allocations: 11.92 kB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.1863, allocations: 15.42 kB / 450 MB, free: 5.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1863, allocations: 4 kB / 450 MB, free: 5.965 MB / 382.1 MB Notification: Performance of Templates: time 0.004012/0.1903, allocations: 1.015 MB / 451 MB, free: 4.949 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches