Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 96.47 kB / 15.7 MB, free: 460 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.001581/0.001581, allocations: 176.8 kB / 16.58 MB, free: 6.863 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.799/1.799, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.5496/0.5496, allocations: 43.58 MB / 314.6 MB, free: 8.762 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.0006067/0.0006069, allocations: 23.98 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1713, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00234/0.1737, allocations: 1.279 MB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.1746, allocations: 295.8 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1747, allocations: 0 / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.1751, allocations: 27.91 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1754, allocations: 31.84 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1758, allocations: 59.92 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1761, allocations: 55.84 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1763, allocations: 20.14 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.1764, allocations: 27.86 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1765, allocations: 19.86 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1766, allocations: 0 / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1767, allocations: 35.98 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.1768, allocations: 15.92 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.1769, allocations: 29.7 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1771, allocations: 60.12 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.1771, allocations: 0 / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1771, allocations: 0 / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1772, allocations: 0 / 444.8 MB, free: 11.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007726/0.1779, allocations: 386.9 kB / 445.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001225/0.1781, allocations: 12.02 kB / 445.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.1781, allocations: 15.86 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1785, allocations: 194.4 kB / 445.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1785, allocations: 0 / 445.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1786, allocations: 4 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1789, allocations: 57.67 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1789, allocations: 0 / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1789, allocations: 4 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.179, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1791, allocations: 47.86 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.1797, allocations: 284.8 kB / 445.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1799, allocations: 58.56 kB / 445.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.1799, allocations: 24.97 kB / 445.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.18, allocations: 7.984 kB / 445.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.18, allocations: 34.5 kB / 445.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.18, allocations: 0 / 445.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007756/0.1808, allocations: 205.4 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1809, allocations: 55.41 kB / 446.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.181, allocations: 149.9 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1811, allocations: 29.7 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1811, allocations: 100.1 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1812, allocations: 23.62 kB / 446.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1812, allocations: 4 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1814, allocations: 318.8 kB / 446.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.1814, allocations: 27.98 kB / 446.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.1815, allocations: 27.97 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.1816, allocations: 32 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1816, allocations: 0 / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002177/0.1818, allocations: 117.7 kB / 446.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1819, allocations: 7.938 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1819, allocations: 0 / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1819, allocations: 7.938 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.182, allocations: 19.98 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.182, allocations: 0 / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1821, allocations: 8 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1821, allocations: 3.984 kB / 447 MB, free: 8.617 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 (8): * Single equations (assignments): 8 * 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.0001212/0.1822, allocations: 125.8 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1823, allocations: 11.86 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1826, allocations: 122.3 kB / 447.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1826, allocations: 4 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1826, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1826, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1831, allocations: 390.5 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1831, allocations: 0 / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.1832, allocations: 23.92 kB / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1832, allocations: 0 / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1832, allocations: 0 / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1832, allocations: 0 / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1832, allocations: 4 kB / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1835, allocations: 203.4 kB / 447.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1835, allocations: 84.97 kB / 447.9 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1836, allocations: 7.984 kB / 447.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.1836, allocations: 8 kB / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.1837, allocations: 11.98 kB / 447.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1837, allocations: 0 / 447.9 MB, free: 7.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.1838, allocations: 119.2 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1838, allocations: 4 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1841, allocations: 16 kB / 448.1 MB, free: 7.402 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001054/0.1851, allocations: 415.4 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1854, allocations: 67.97 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1854, allocations: 0 / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.1855, allocations: 39.92 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1859, allocations: 19.98 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.1864, allocations: 213.4 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1867, allocations: 0.6926 MB / 449.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1868, allocations: 20.64 kB / 449.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.1868, allocations: 11.44 kB / 449.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1868, allocations: 0 / 449.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004312/0.1911, allocations: 1.096 MB / 450.6 MB, free: 4.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches