Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0009853/0.0009853, allocations: 80.8 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.0012/0.0012, allocations: 169.6 kB / 24.91 MB, free: 8.727 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.9999/0.9999, 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.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.28/0.28, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.551e-05, allocations: 3.016 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002061/0.002077, allocations: 1.696 MB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006771/0.002754, allocations: 0.5374 MB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.002802, allocations: 3.938 kB / 327.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.003021, allocations: 83.7 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.003233, allocations: 99.52 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003426, allocations: 91.64 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003567, allocations: 91.67 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/0.003641, allocations: 12.48 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.003703, allocations: 47.88 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.003786, allocations: 47.88 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003798, allocations: 4 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.003873, allocations: 51.92 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.003912, allocations: 19.92 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.003934, allocations: 15.92 kB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004067, allocations: 95.59 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004068, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00407, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.004073, allocations: 0 / 328.2 MB, free: 4.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000284/0.004357, allocations: 309.6 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.004385, allocations: 12.03 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.00441, allocations: 8.922 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004535, allocations: 151.4 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-06/0.004541, allocations: 384 / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.004558, allocations: 8.312 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.543e-05/0.004633, allocations: 58.94 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004641, allocations: 192 / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.004648, allocations: 4.125 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.004653, allocations: 4 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.004673, allocations: 7.984 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.004855, allocations: 175 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.004895, allocations: 26.52 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.00491, allocations: 12.94 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.004923, allocations: 8 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004942, allocations: 34.5 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.004943, allocations: 0 / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003713/0.005314, allocations: 137.4 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.00534, allocations: 55.48 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.00545, allocations: 185.5 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.00546, allocations: 29.64 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.00549, allocations: 100 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.005511, allocations: 35.78 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.005537, allocations: 13.72 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.005621, allocations: 326.8 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.005634, allocations: 8 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.005648, allocations: 11.98 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.005682, allocations: 29.06 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005683, allocations: 0 / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.132e-05/0.005745, allocations: 57.61 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.005757, allocations: 11.98 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005761, allocations: 0 / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.00577, allocations: 4 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.005823, allocations: 15.94 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005827, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.005846, allocations: 11.92 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005851, allocations: 0 / 330 MB, free: 2.738 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.669e-05/0.005908, allocations: 116.7 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.005927, allocations: 11.92 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.802e-05/0.006025, allocations: 71.08 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006028, allocations: 4.422 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00603, allocations: 0 / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006033, allocations: 4 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.006248, allocations: 247.5 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006249, allocations: 0 / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.006284, allocations: 15.98 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.006289, allocations: 7.984 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.006294, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006295, allocations: 3.938 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006296, allocations: 0 / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.006388, allocations: 164.3 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.0064, allocations: 15.89 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.006411, allocations: 8.031 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.006446, allocations: 4 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.00647, allocations: 7.984 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006473, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.006517, allocations: 60.12 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006517, allocations: 0 / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.006651, allocations: 16 kB / 330.8 MB, free: 1.926 MB / 298.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 (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.001207/0.007858, allocations: 0.57 MB / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.00793, allocations: 40.72 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.007933, allocations: 0 / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.007956, allocations: 24.78 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.008113, allocations: 20 kB / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.008413, allocations: 227.7 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.008449, allocations: 63.34 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.437e-05/0.008483, allocations: 17.02 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.008533, allocations: 63.38 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008533, allocations: 0 / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of Templates: time 0.003165/0.0117, allocations: 1.486 MB / 333.3 MB, free: 15.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.943302746862173]