Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001342/0.001342, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001651/0.001651, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2686/0.2686, allocations: 34.25 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.925e-05, allocations: 3.156 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002582/0.002612, allocations: 1.653 MB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003965, allocations: 1.301 MB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.004018, allocations: 4 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.00423, allocations: 31.72 kB / 328.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.004497, allocations: 87.55 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.00472, allocations: 111.6 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004846, allocations: 80.39 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.004935, allocations: 15.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.004997, allocations: 39.91 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.005082, allocations: 39.89 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.005097, allocations: 4 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.005221, allocations: 87.88 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.005261, allocations: 15.94 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.005285, allocations: 23.91 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.005474, allocations: 143.4 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005476, allocations: 0 / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005477, allocations: 0 / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.00548, allocations: 0 / 328.9 MB, free: 4.055 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003288/0.005809, allocations: 313.6 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.005839, allocations: 8.031 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.005871, allocations: 20.92 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.005998, allocations: 133.6 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.006008, allocations: 4.375 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.006027, allocations: 4.375 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006147, allocations: 106.3 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.006156, allocations: 4.188 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.006164, allocations: 4.125 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006169, allocations: 0 / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.006192, allocations: 8 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.006421, allocations: 191 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.006475, allocations: 42.56 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.00649, allocations: 8.859 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006506, allocations: 4 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.006525, allocations: 34.5 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.006526, allocations: 0 / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002835/0.00681, allocations: 110.2 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.006846, allocations: 81.11 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.006937, allocations: 142.7 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006948, allocations: 29.7 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.006981, allocations: 96.11 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.007002, allocations: 35.67 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.007031, allocations: 21.7 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.007101, allocations: 322.8 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.007114, allocations: 4 kB / 330.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.007147, allocations: 51.41 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.007182, allocations: 31.66 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007183, allocations: 0 / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.631e-05/0.007249, allocations: 53.62 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007262, allocations: 7.984 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007266, allocations: 4 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007277, allocations: 4.031 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.007338, allocations: 19.88 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.007341, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.007361, allocations: 7.984 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.007365, allocations: 0 / 330.8 MB, free: 1.996 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 (8): * Single equations (assignments): 8 * 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 5.327e-05/0.007419, allocations: 112.7 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.007436, allocations: 11.94 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.007538, allocations: 86.59 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00754, allocations: 0 / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.007542, allocations: 0 / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007544, allocations: 4 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.007743, allocations: 238.7 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007744, allocations: 0 / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.007781, allocations: 19.92 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007783, allocations: 0 / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007789, allocations: 4.375 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00779, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00779, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.047e-05/0.007871, allocations: 155.5 kB / 331.4 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007882, allocations: 15.94 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.007893, allocations: 3.984 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.007926, allocations: 12 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.007947, allocations: 3.984 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.007953, allocations: 7.984 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.007983, allocations: 27.67 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007983, allocations: 0 / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.00815, allocations: 47.86 kB / 331.5 MB, free: 1.199 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 (8): * Single equations (assignments): 8 * 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.001224/0.009375, allocations: 0.6193 MB / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.009458, allocations: 36.83 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.009462, allocations: 8 kB / 332.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.009483, allocations: 20.8 kB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.009627, allocations: 19.92 kB / 332.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.009909, allocations: 186.8 kB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.009944, allocations: 63.34 kB / 332.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.009987, allocations: 21.02 kB / 332.5 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.01005, allocations: 71.34 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01005, allocations: 4 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of Templates: time 0.003325/0.01337, allocations: 2.109 MB / 334.6 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.007477313745767]