Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001304/0.001304, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.002176/0.002176, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2493/0.2493, 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 3.938 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.52e-05, allocations: 9.516 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001998/0.002013, allocations: 1.675 MB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003154, allocations: 1.286 MB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.0032, allocations: 3.938 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.003366, allocations: 19.86 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.003597, allocations: 91.48 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003782, allocations: 87.69 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003896, allocations: 67.78 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.003964, allocations: 15.97 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.004024, allocations: 27.92 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.004104, allocations: 27.89 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.004117, allocations: 4 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.004254, allocations: 95.83 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.004287, allocations: 15.92 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.00431, allocations: 20.55 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.004488, allocations: 131.5 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00449, allocations: 0 / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004491, allocations: 0 / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.004494, allocations: 0 / 326.8 MB, free: 6.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003062/0.0048, allocations: 301.4 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.00483, allocations: 12.03 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.004859, allocations: 8.922 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.004987, allocations: 125.7 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.004995, allocations: 8.359 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.005011, allocations: 4.375 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005112, allocations: 94.38 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.00512, allocations: 192 / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.005129, allocations: 8.109 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.005134, allocations: 0 / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.005152, allocations: 7.938 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.005328, allocations: 163.2 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.005429, allocations: 34.55 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.005442, allocations: 8.859 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.005454, allocations: 0 / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.005475, allocations: 46.58 kB / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.005476, allocations: 0 / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002184/0.005694, allocations: 81.53 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.005735, allocations: 88.98 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.00582, allocations: 140.3 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.00583, allocations: 29.7 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.005857, allocations: 88.08 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.005875, allocations: 23.83 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.005898, allocations: 13.72 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.005972, allocations: 322.8 kB / 328.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.005981, allocations: 8 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.006008, allocations: 43.41 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.006036, allocations: 29.03 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006037, allocations: 0 / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.329e-05/0.00609, allocations: 49.56 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.0061, allocations: 4 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006105, allocations: 7.984 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.006114, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.752e-05/0.006152, allocations: 11.98 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006154, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.006173, allocations: 8.031 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.006177, allocations: 0 / 328.6 MB, free: 4.129 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 (5): * Single equations (assignments): 5 * 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 4.899e-05/0.006226, allocations: 112.7 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.006244, allocations: 11.92 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.006321, allocations: 62.08 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006322, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006324, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006326, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.006495, allocations: 206.8 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006497, allocations: 3.938 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.006523, allocations: 16 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006525, allocations: 0 / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.00653, allocations: 3.984 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006531, allocations: 0 / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006531, allocations: 3.938 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.944e-05/0.006601, allocations: 147.7 kB / 329.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.006609, allocations: 11.89 kB / 329.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.006625, allocations: 3.984 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.006661, allocations: 8.219 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.006679, allocations: 0 / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.006682, allocations: 0 / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.006714, allocations: 42 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006715, allocations: 4 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.006876, allocations: 31.88 kB / 329.2 MB, free: 3.414 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 (5): * Single equations (assignments): 5 * 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.001322/0.008198, allocations: 0.6277 MB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.008271, allocations: 28.78 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.008274, allocations: 0 / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.008292, allocations: 20.97 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.008439, allocations: 23.92 kB / 329.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.008692, allocations: 158.5 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.008725, allocations: 67.28 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.008758, allocations: 7.984 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.008817, allocations: 67.36 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008818, allocations: 4 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of Templates: time 0.003256/0.01207, allocations: 1.983 MB / 332.2 MB, free: 0.7148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.8545741359703243]