Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0009533/0.0009533, allocations: 72.89 kB / 21.49 MB, free: 2.836 MB / 18.57 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.0017/0.0017, allocations: 167.3 kB / 24.91 MB, free: 9.254 MB / 18.57 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 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.275/0.275, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.219e-05, allocations: 3.625 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003029/0.003061, allocations: 1.735 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008055/0.003867, allocations: 0.5801 MB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.003928, allocations: 0 / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.004393, allocations: 455.1 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.004769, allocations: 295.1 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.005131, allocations: 179.4 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.005359, allocations: 175.7 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.005442, allocations: 12.62 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005565, allocations: 123.7 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.005734, allocations: 199.6 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.005749, allocations: 8 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.005831, allocations: 43.91 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.005911, allocations: 87.66 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.005947, allocations: 35.75 kB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.006163, allocations: 207.1 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006166, allocations: 0 / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006167, allocations: 0 / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006172, allocations: 0 / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004494/0.006621, allocations: 0.5539 MB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.006653, allocations: 8.031 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.006692, allocations: 20.92 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.006875, allocations: 254 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.006882, allocations: 384 / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.006898, allocations: 4.375 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.006996, allocations: 58.94 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.007006, allocations: 8.156 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.007013, allocations: 4.125 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.007017, allocations: 4 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.00704, allocations: 7.938 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.007319, allocations: 203 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.007376, allocations: 42.62 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.007391, allocations: 8.859 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.007409, allocations: 3.938 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.007429, allocations: 34.5 kB / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.00743, allocations: 0 / 328.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000319/0.007749, allocations: 129.6 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.007774, allocations: 55.41 kB / 328.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.00809, allocations: 0.5283 MB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.008104, allocations: 29.7 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.008167, allocations: 141.3 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.008195, allocations: 27.77 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.008224, allocations: 17.72 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.008317, allocations: 362.7 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.008331, allocations: 4 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.008345, allocations: 4 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.008386, allocations: 27.67 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.008386, allocations: 3.938 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.379e-05/0.00847, allocations: 81.52 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.008482, allocations: 4 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008486, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.008496, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.008568, allocations: 19.98 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.008571, allocations: 4 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.008601, allocations: 7.984 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.008607, allocations: 0 / 330 MB, free: 2.73 MB / 298.7 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 (7): * Single equations (assignments): 7 * 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.997e-05/0.008677, allocations: 108.7 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.008707, allocations: 31.91 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.00884, allocations: 101.8 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008842, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.008843, allocations: 4 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008846, allocations: 0 / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.009096, allocations: 294.5 kB / 330.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009098, allocations: 0 / 330.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.009148, allocations: 15.98 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.00915, allocations: 0 / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.009155, allocations: 0 / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.009158, allocations: 4 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009158, allocations: 4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.009256, allocations: 167.4 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.009281, allocations: 35.72 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.009298, allocations: 8 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.009341, allocations: 4 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.009369, allocations: 7.922 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.009373, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.009553, allocations: 287.2 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009554, allocations: 0 / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.009711, allocations: 31.92 kB / 331.1 MB, free: 1.59 MB / 298.7 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 (7): * Single equations (assignments): 7 * 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.001143/0.01085, allocations: 0.5027 MB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.01094, allocations: 32.83 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.01094, allocations: 8 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.01096, allocations: 16.8 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01117, allocations: 34.23 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.01178, allocations: 0.5907 MB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.01185, allocations: 123.2 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.01189, allocations: 17.02 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.01195, allocations: 59.38 kB / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01195, allocations: 0 / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of Templates: time 0.00411/0.01606, allocations: 1.594 MB / 334.1 MB, free: 14.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9411077057011425]