Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001367/0.001367, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001675/0.001675, allocations: 168.2 kB / 24.82 MB, free: 8.863 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.266/1.266, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3678/0.3678, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.618e-05, allocations: 13.41 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002772/0.002798, allocations: 1.707 MB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.003626, allocations: 0.5413 MB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.00368, allocations: 0 / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.003927, allocations: 59.78 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.004192, allocations: 103.5 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.004421, allocations: 131.5 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.004557, allocations: 79.81 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.004653, allocations: 20.22 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.004735, allocations: 55.75 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.004821, allocations: 43.94 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004835, allocations: 4 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.004916, allocations: 47.92 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.00498, allocations: 31.84 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.005005, allocations: 15.94 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.005166, allocations: 91.66 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00517, allocations: 0 / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005171, allocations: 0 / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005177, allocations: 0 / 381.5 MB, free: 15.41 MB / 362.7 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.0004417/0.005618, allocations: 451.8 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.005661, allocations: 12.03 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.005705, allocations: 12.89 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005853, allocations: 140.4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005864, allocations: 384 / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.005884, allocations: 8.312 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.006026, allocations: 70.88 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006037, allocations: 192 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.006047, allocations: 8.125 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006054, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.006082, allocations: 15.98 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.006367, allocations: 272.3 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.006532, allocations: 47.03 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.006553, allocations: 19.81 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.00658, allocations: 7.922 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.006605, allocations: 37.39 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.006607, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000569/0.007176, allocations: 221.3 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.007203, allocations: 51.41 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007332, allocations: 222.5 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.007346, allocations: 25.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.007405, allocations: 142.9 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.007442, allocations: 43.62 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.007483, allocations: 31.36 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.007639, allocations: 0.5039 MB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.007667, allocations: 19.94 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.007688, allocations: 11.98 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.007734, allocations: 31.69 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007735, allocations: 3.938 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001016/0.007836, allocations: 85.95 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.007852, allocations: 10.44 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007856, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.007873, allocations: 4.562 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.007951, allocations: 19.98 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.007954, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.007978, allocations: 15.98 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.007987, allocations: 8 kB / 384 MB, free: 12.7 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 (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 8.904e-05/0.008076, allocations: 172.4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.008101, allocations: 15.91 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.00826, allocations: 102.5 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008263, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.008265, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.008268, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.008613, allocations: 381.2 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008615, allocations: 4.062 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.008671, allocations: 27.92 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.008675, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008681, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.008685, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.008689, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.008831, allocations: 255.2 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.008845, allocations: 15.91 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.008858, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.008901, allocations: 7.984 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.008935, allocations: 23.86 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008941, allocations: 4 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.795e-05/0.009009, allocations: 160 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009009, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009183, allocations: 24 kB / 385.1 MB, free: 11.43 MB / 362.7 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.0009826/0.01017, allocations: 434.3 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01028, allocations: 55.59 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01028, allocations: 4 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.01032, allocations: 31.61 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01057, allocations: 30.97 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.011, allocations: 254.3 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.01105, allocations: 75.27 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.01109, allocations: 12.62 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.01117, allocations: 86.19 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01117, allocations: 4 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.004296/0.01547, allocations: 1.738 MB / 387.9 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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.871069138869643]