Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009566, allocations: 96.39 kB / 15.7 MB, free: 468 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.00148/0.00148, allocations: 175.6 kB / 16.58 MB, free: 6.062 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.09/2.09, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.5071/0.5071, allocations: 43.58 MB / 314.6 MB, free: 8.777 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.0008194/0.0008197, allocations: 12 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1747, allocations: 58.86 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002731/0.1775, allocations: 1.398 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1789, allocations: 0.7422 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.179, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.1793, allocations: 51.81 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1795, allocations: 43.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1798, allocations: 75.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.18, allocations: 83.75 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1801, allocations: 12.2 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.1802, allocations: 39.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.1803, allocations: 31.86 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1803, allocations: 0 / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.1804, allocations: 43.91 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.1805, allocations: 19.92 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1805, allocations: 37.64 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1807, allocations: 96.08 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1807, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1807, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.1808, allocations: 0 / 445.5 MB, free: 10.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005734/0.1813, allocations: 418.8 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1814, allocations: 8.031 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.1814, allocations: 11.81 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1817, allocations: 210.8 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1817, allocations: 3.938 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1817, allocations: 4 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1819, allocations: 57.61 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1819, allocations: 0 / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1819, allocations: 4 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.182, allocations: 7.953 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.182, allocations: 19.98 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1824, allocations: 284.8 kB / 446.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1826, allocations: 62.61 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.1826, allocations: 20.86 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1827, allocations: 4 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.1829, allocations: 71.33 kB / 446.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1829, allocations: 0 / 446.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.1835, allocations: 165.2 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.1835, allocations: 55.41 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1838, allocations: 218.7 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1838, allocations: 33.7 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.1839, allocations: 108 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1839, allocations: 31.62 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1839, allocations: 0 / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.184, allocations: 326.8 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.1841, allocations: 19.98 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.1842, allocations: 37.64 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.1842, allocations: 28 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1842, allocations: 7.938 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1844, allocations: 93.55 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1845, allocations: 7.938 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1845, allocations: 4.375 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1845, allocations: 3.984 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.1846, allocations: 12 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1846, allocations: 4 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1847, allocations: 12.03 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1847, allocations: 4 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1848, allocations: 133.8 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.1848, allocations: 15.77 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1849, allocations: 21.55 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1849, allocations: 192 / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1849, allocations: 0 / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1849, allocations: 3.938 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.1854, allocations: 407.2 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1854, allocations: 4 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1855, allocations: 11.94 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1855, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1855, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1855, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1855, allocations: 4 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1857, allocations: 204.2 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1858, allocations: 92.95 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1858, allocations: 4 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.1859, allocations: 4 kB / 448.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1859, allocations: 7.984 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1859, allocations: 0 / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1861, allocations: 180.2 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1861, allocations: 0 / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1864, allocations: 28 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1875, allocations: 456.7 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1877, allocations: 59.91 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1877, allocations: 0 / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.1878, allocations: 31.97 kB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1881, allocations: 28.03 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.1887, allocations: 278.3 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1891, allocations: 0.7159 MB / 450.4 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1892, allocations: 21.19 kB / 450.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1892, allocations: 27.42 kB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1893, allocations: 3.938 kB / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004587/0.1938, allocations: 1.595 MB / 452.1 MB, free: 3.348 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches