Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 165.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.966e-05, allocations: 6.219 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002828/0.002848, allocations: 1.666 MB / 441.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003903, allocations: 0.5453 MB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.00395, allocations: 4 kB / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.004545, allocations: 455 kB / 442.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.005031, allocations: 291.2 kB / 443.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.005363, allocations: 138.9 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.005615, allocations: 175.6 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.005717, allocations: 20.22 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.005874, allocations: 119.8 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.006149, allocations: 251.5 kB / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.006173, allocations: 4 kB / 443.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.006285, allocations: 51.91 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.006401, allocations: 87.7 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.006455, allocations: 39.69 kB / 443.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.006799, allocations: 263 kB / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006802, allocations: 0 / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006804, allocations: 0 / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.006814, allocations: 0 / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007983/0.007612, allocations: 0.5853 MB / 444.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.007646, allocations: 16.03 kB / 444.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.007716, allocations: 44.59 kB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.008015, allocations: 250 kB / 445.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.008022, allocations: 384 / 445.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.008049, allocations: 8.375 kB / 445.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.008245, allocations: 66.22 kB / 445.2 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.00826, allocations: 4.125 kB / 445.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.008271, allocations: 4.125 kB / 445.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.008276, allocations: 0 / 445.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.008425, allocations: 39.97 kB / 445.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.008904, allocations: 336.4 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.009155, allocations: 58.53 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.009236, allocations: 24.97 kB / 445.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.009256, allocations: 3.984 kB / 445.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.00928, allocations: 30.56 kB / 445.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009282, allocations: 0 / 445.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001603/0.01088, allocations: 476.3 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.01093, allocations: 55.39 kB / 446.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.01182, allocations: 0.8574 MB / 447 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01184, allocations: 33.7 kB / 447.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.01202, allocations: 220 kB / 447.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.01206, allocations: 39.64 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.01211, allocations: 25.7 kB / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01228, allocations: 370.7 kB / 447.7 MB, free: 372 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01242, allocations: 44.47 kB / 447.7 MB, free: 328 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.01254, allocations: 43.97 kB / 447.8 MB, free: 284 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.0128, allocations: 101.1 kB / 447.9 MB, free: 180 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01281, allocations: 0 / 447.9 MB, free: 180 kB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.1684/0.1812, allocations: 177.2 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1812, allocations: 4.906 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1812, allocations: 4.406 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.1812, allocations: 0.8438 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1814, allocations: 26.12 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1814, allocations: 1.219 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1815, allocations: 9.109 kB / 448.1 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1815, allocations: 13.28 kB / 448.1 MB, free: 21.26 MB / 366.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 (11): * Single equations (assignments): 11 * 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 0.0001912/0.1817, allocations: 218.2 kB / 448.3 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.1818, allocations: 50.09 kB / 448.4 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1822, allocations: 196.6 kB / 448.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1822, allocations: 4.391 kB / 448.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1822, allocations: 0 / 448.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1822, allocations: 1.938 kB / 448.6 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.1829, allocations: 0.5012 MB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1829, allocations: 5.031 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.183, allocations: 25.12 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1831, allocations: 1.906 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1831, allocations: 2.781 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1831, allocations: 1.938 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1831, allocations: 2.422 kB / 449.1 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.1834, allocations: 284.5 kB / 449.4 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1835, allocations: 41.55 kB / 449.4 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1835, allocations: 6.062 kB / 449.4 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1836, allocations: 13.12 kB / 449.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.1837, allocations: 12.12 kB / 449.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1837, allocations: 6.781 kB / 449.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006516/0.1843, allocations: 0.6518 MB / 450.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1843, allocations: 0 / 450.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1846, allocations: 33.28 kB / 450.2 MB, free: 20.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00174/0.1863, allocations: 496.6 kB / 450.6 MB, free: 20.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1867, allocations: 98.88 kB / 450.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1867, allocations: 0 / 450.7 MB, free: 20.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1868, allocations: 58.73 kB / 450.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1872, allocations: 37.72 kB / 450.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1882, allocations: 0.8656 MB / 451.7 MB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1884, allocations: 230 kB / 451.9 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1885, allocations: 19.25 kB / 451.9 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.1885, allocations: 20.81 kB / 452 MB, free: 19.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1885, allocations: 0 / 452 MB, free: 19.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005898/0.1944, allocations: 1.718 MB / 453.7 MB, free: 19.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.563154190778732]