Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 96.14 kB / 15.87 MB, free: 16 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.001388/0.001388, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.862/1.862, allocations: 205.1 MB / 222.6 MB, free: 4.977 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.4324/0.4324, allocations: 43.49 MB / 313.5 MB, free: 8.586 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.001939/0.001939, allocations: 72.45 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 57.79 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003725/0.1745, allocations: 1.602 MB / 441.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.1753, allocations: 311.5 kB / 441.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1754, allocations: 7.938 kB / 441.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1758, allocations: 15.92 kB / 441.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.176, allocations: 31.91 kB / 441.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1763, allocations: 59.88 kB / 441.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1764, allocations: 51.91 kB / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1766, allocations: 15.97 kB / 441.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.883e-05/0.1766, allocations: 19.86 kB / 441.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.1767, allocations: 19.92 kB / 441.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1768, allocations: 4 kB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1769, allocations: 31.92 kB / 442 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1769, allocations: 11.94 kB / 442 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.177, allocations: 23.84 kB / 442 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1772, allocations: 76.02 kB / 442.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.1772, allocations: 0 / 442.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1772, allocations: 0 / 442.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.1772, allocations: 0 / 442.1 MB, free: 12.86 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.0006699/0.1779, allocations: 383.1 kB / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.178, allocations: 8.031 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1781, allocations: 8.844 kB / 442.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1783, allocations: 188.2 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1784, allocations: 384 / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1784, allocations: 8.375 kB / 442.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1786, allocations: 49.8 kB / 442.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1786, allocations: 0 / 442.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1786, allocations: 4 kB / 442.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1786, allocations: 4 kB / 442.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1788, allocations: 27.97 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.1792, allocations: 264.9 kB / 443 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1795, allocations: 42.59 kB / 443.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.1796, allocations: 20.84 kB / 443.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1797, allocations: 4 kB / 443.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.1797, allocations: 38.56 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1797, allocations: 0 / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007172/0.1804, allocations: 141.2 kB / 443.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1805, allocations: 51.41 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1807, allocations: 145.9 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1807, allocations: 33.7 kB / 443.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1808, allocations: 88.14 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1808, allocations: 19.66 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1809, allocations: 21.7 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.181, allocations: 318.8 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.1811, allocations: 19.98 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1812, allocations: 19.92 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1813, allocations: 52.77 kB / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1813, allocations: 4 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001675/0.1815, allocations: 69.67 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1815, allocations: 4 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1815, allocations: 0 / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1816, allocations: 7.984 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.1816, allocations: 8 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1816, allocations: 4 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.1817, allocations: 7.984 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1817, allocations: 256 / 444.1 MB, free: 10.61 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.931e-05/0.1818, allocations: 129.6 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1818, allocations: 7.906 kB / 444.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1821, allocations: 97.95 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1821, allocations: 0 / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1821, allocations: 4 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1821, allocations: 3.938 kB / 444.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.1826, allocations: 346.4 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1826, allocations: 0 / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.1826, allocations: 11.98 kB / 444.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1826, allocations: 4 kB / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1826, allocations: 0 / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1827, allocations: 7.938 kB / 444.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1827, allocations: 0 / 444.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1829, allocations: 179.5 kB / 444.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.183, allocations: 81.02 kB / 445 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.183, allocations: 4 kB / 445 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1831, allocations: 7.922 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1831, allocations: 8 kB / 445 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1831, allocations: 0 / 445 MB, free: 9.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.956e-05/0.1832, allocations: 111.2 kB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1832, allocations: 0 / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1834, allocations: 16 kB / 445.1 MB, free: 9.5 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.0009848/0.1844, allocations: 407.9 kB / 445.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1846, allocations: 39.97 kB / 445.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1847, allocations: 8 kB / 445.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1847, allocations: 23.92 kB / 445.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1851, allocations: 19.92 kB / 445.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.1855, allocations: 179.2 kB / 445.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1858, allocations: 0.6965 MB / 446.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.1859, allocations: 4.25 kB / 446.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1859, allocations: 11.44 kB / 446.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1859, allocations: 0 / 446.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of Templates: time 0.004096/0.19, allocations: 1.038 MB / 447.5 MB, free: 7.062 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches