Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001417/0.001417, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.79/1.79, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2926/0.2926, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.002283/0.002283, allocations: 64.86 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1708, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004357/0.1753, allocations: 1.551 MB / 442.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1773, allocations: 0.93 MB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1774, allocations: 0 / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.1778, allocations: 27.84 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1781, allocations: 47.77 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1784, allocations: 63.8 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1786, allocations: 55.91 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1788, allocations: 15.92 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.1788, allocations: 23.86 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.179, allocations: 27.91 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1791, allocations: 0 / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1792, allocations: 55.91 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.1793, allocations: 7.938 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.1793, allocations: 23.86 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1796, allocations: 87.77 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1796, allocations: 4 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1796, allocations: 0 / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1796, allocations: 0 / 443.4 MB, free: 3.984 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.0005321/0.1801, allocations: 375.2 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.1802, allocations: 15.89 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.1803, allocations: 0.9375 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1805, allocations: 191.5 kB / 444 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1805, allocations: 4.312 kB / 444 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1806, allocations: 8.312 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1808, allocations: 71.52 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1808, allocations: 0 / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1808, allocations: 0 / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.1808, allocations: 0 / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.1809, allocations: 23.98 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1813, allocations: 272.9 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.1816, allocations: 42.5 kB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1816, allocations: 20.94 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1817, allocations: 3.938 kB / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1817, allocations: 30.56 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1817, allocations: 0 / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005986/0.1823, allocations: 141.6 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1824, allocations: 77.11 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1825, allocations: 129.8 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1825, allocations: 29.7 kB / 444.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1825, allocations: 92.05 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1826, allocations: 23.78 kB / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1826, allocations: 17.72 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.1827, allocations: 318.8 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.1828, allocations: 19.98 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.1829, allocations: 37.62 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.183, allocations: 45.03 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.183, allocations: 4.031 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001602/0.1832, allocations: 81.56 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1832, allocations: 8 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1832, allocations: 0 / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1832, allocations: 3.984 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.1833, allocations: 8 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1833, allocations: 4 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1834, allocations: 3.984 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1834, allocations: 11.94 kB / 445.5 MB, free: 1.672 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 6.595e-05/0.1834, allocations: 121.7 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1835, allocations: 4 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.1837, allocations: 89.47 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1837, allocations: 0 / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1837, allocations: 0 / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1837, allocations: 7.984 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.1841, allocations: 346.5 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1841, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.1842, allocations: 15.98 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1842, allocations: 0 / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1842, allocations: 192 / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1842, allocations: 7.938 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1842, allocations: 0 / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1844, allocations: 179.4 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.1844, allocations: 81.09 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1844, allocations: 4 kB / 446.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.1845, allocations: 11.94 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1846, allocations: 3.984 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1846, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.1846, allocations: 107.2 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1847, allocations: 4 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.185, allocations: 24 kB / 446.5 MB, free: 0.5781 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.00104/0.186, allocations: 447.1 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1863, allocations: 55.89 kB / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1863, allocations: 0 / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.1863, allocations: 23.98 kB / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1867, allocations: 15.98 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.1873, allocations: 153.5 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.1878, allocations: 0.6944 MB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.188, allocations: 15.97 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.188, allocations: 11.44 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.188, allocations: 0 / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Templates: time 0.005119/0.1932, allocations: 1.354 MB / 449.2 MB, free: 13.85 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches