Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.0008992/0.0008992, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009517/0.0009517, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9601/0.9601, allocations: 177.1 MB / 205 MB, free: 5.578 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.2969/0.2969, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.9e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00229/0.002319, allocations: 1.708 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003598, allocations: 1.317 MB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.003661, allocations: 3.938 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.003859, allocations: 19.84 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.004132, allocations: 83.56 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.004407, allocations: 183.4 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004541, allocations: 79.77 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.004637, allocations: 11.98 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.004694, allocations: 43.84 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.004786, allocations: 39.89 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004804, allocations: 4 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.004939, allocations: 91.88 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.005001, allocations: 15.92 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.005033, allocations: 19.92 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.005251, allocations: 143.5 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005254, allocations: 0 / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005255, allocations: 0 / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.005261, allocations: 0 / 379.8 MB, free: 0.8789 MB / 346.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.0004768/0.005738, allocations: 436 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.005778, allocations: 12.03 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.005828, allocations: 12.89 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.006008, allocations: 150.4 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.006019, allocations: 384 / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.006052, allocations: 8.375 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.00621, allocations: 104 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006221, allocations: 192 / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.006232, allocations: 8.125 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.00624, allocations: 0 / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.006275, allocations: 15.98 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.006614, allocations: 291.7 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.006696, allocations: 39.06 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.006727, allocations: 19.7 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.006752, allocations: 0 / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.006777, allocations: 33.39 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.006778, allocations: 0 / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.007206, allocations: 137.4 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.007242, allocations: 81.05 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.007362, allocations: 205.8 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.007373, allocations: 29.7 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.007428, allocations: 142.9 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.007452, allocations: 27.75 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.007486, allocations: 23.38 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007597, allocations: 0.4923 MB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.00762, allocations: 7.984 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.007662, allocations: 57.08 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.00771, allocations: 31.84 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007711, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002378/0.007949, allocations: 73.61 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007962, allocations: 11.97 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007967, allocations: 4 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.007984, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.008066, allocations: 15.98 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008071, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.008095, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.008102, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.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.388e-05/0.008166, allocations: 160.5 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.008193, allocations: 15.94 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.00833, allocations: 82.39 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008332, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008335, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.008338, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.008599, allocations: 341.4 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008601, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.008646, allocations: 15.98 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008648, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.008657, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008658, allocations: 3.938 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008659, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.008783, allocations: 223.8 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.008794, allocations: 11.94 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.008813, allocations: 0 / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.008857, allocations: 8 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.008894, allocations: 7.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.008899, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.008959, allocations: 153 kB / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008959, allocations: 0 / 383.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.009145, allocations: 43.88 kB / 383.3 MB, free: 13.06 MB / 362.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.001005/0.01015, allocations: 497.5 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.01027, allocations: 39.67 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01027, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.0103, allocations: 27.67 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.0105, allocations: 30.69 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.01084, allocations: 202.2 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01088, allocations: 71.33 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.01093, allocations: 28.94 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01097, allocations: 16.48 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01097, allocations: 4 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003591/0.01456, allocations: 2.005 MB / 386.2 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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: 3.3720107707194984]