Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.0009137/0.0009137, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002207, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007835/0.0007835, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001734, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.13, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2848/0.2848, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03561/0.3204, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.236e-05, allocations: 4.094 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002256/0.002278, allocations: 1.721 MB / 292.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.002998, allocations: 0.5591 MB / 292.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.003043, allocations: 0 / 292.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.003164, allocations: 39.62 kB / 293 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.00331, allocations: 85.09 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.003477, allocations: 93.97 kB / 293.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003594, allocations: 85.28 kB / 293.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.003663, allocations: 27.42 kB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.003744, allocations: 56.23 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.003806, allocations: 27.62 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003821, allocations: 5.469 kB / 293.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.003913, allocations: 59.03 kB / 293.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.003952, allocations: 19.88 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.003978, allocations: 11.94 kB / 293.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004135, allocations: 83.67 kB / 293.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.004147, allocations: 4 kB / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004148, allocations: 0 / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.004158, allocations: 0 / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003381/0.004496, allocations: 328.6 kB / 293.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.004525, allocations: 12.58 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.004557, allocations: 12.94 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004704, allocations: 133.6 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.004715, allocations: 8.375 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.004737, allocations: 8.359 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.004848, allocations: 67.58 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004858, allocations: 192 / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.00487, allocations: 8.125 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004875, allocations: 4 kB / 294.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.004917, allocations: 15.92 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.005193, allocations: 191 kB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.005257, allocations: 42.55 kB / 294.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.005277, allocations: 20.8 kB / 294.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.005302, allocations: 7.938 kB / 294.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.005324, allocations: 30.67 kB / 294.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005325, allocations: 3.938 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004562/0.005781, allocations: 198 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005809, allocations: 51.41 kB / 294.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.005895, allocations: 164.2 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005906, allocations: 33.7 kB / 294.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.005932, allocations: 88.12 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.005966, allocations: 51.52 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.005997, allocations: 29.7 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.006075, allocations: 330.7 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.006089, allocations: 12 kB / 295.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.006105, allocations: 12.98 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.006142, allocations: 39.22 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006143, allocations: 0 / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.027e-05/0.006203, allocations: 73.66 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.006212, allocations: 4 kB / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.006215, allocations: 7.938 kB / 295.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.006221, allocations: 0 / 295.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.006287, allocations: 27.98 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.006288, allocations: 0 / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.006306, allocations: 8 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006311, allocations: 3.938 kB / 295.5 MB, free: 3.262 MB / 282.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 (13): * Single equations (assignments): 13 * 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.935e-05/0.006361, allocations: 120.7 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.006377, allocations: 4 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.006478, allocations: 98.36 kB / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.006479, allocations: 0 / 295.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006481, allocations: 4 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006484, allocations: 0 / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.006714, allocations: 288.5 kB / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006715, allocations: 0 / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.006764, allocations: 27.92 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006771, allocations: 7.953 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.006774, allocations: 4 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006781, allocations: 7.938 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006782, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006782, allocations: 4.031 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.006874, allocations: 177.9 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.006916, allocations: 8 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.00697, allocations: 11.92 kB / 296.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.006997, allocations: 7.984 kB / 296.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.007004, allocations: 8 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.007047, allocations: 36.16 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007047, allocations: 0 / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.007189, allocations: 27.94 kB / 296.3 MB, free: 2.371 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001388/0.008577, allocations: 0.6207 MB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.00868, allocations: 52.66 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.008688, allocations: 4 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.008721, allocations: 36.78 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.008905, allocations: 33.06 kB / 297.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.009432, allocations: 232.1 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.601e-05/0.009488, allocations: 71.33 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.009531, allocations: 12.48 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.009602, allocations: 63.44 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009603, allocations: 4 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of Templates: time 0.003273/0.01288, allocations: 1.7 MB / 299.1 MB, free: 15.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.1014073388651013]