Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.000984/0.000984, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002398, 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.001321/0.001321, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.003041, 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.169, allocations: 53.64 MB / 243.2 MB, free: 15.58 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.2676/0.2676, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02643/0.294, allocations: 12.53 MB / 289.3 MB, free: 8.664 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.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.441e-05, allocations: 8.422 kB / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002896/0.002921, allocations: 1.687 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.003895, allocations: 0.5553 MB / 292.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.003948, allocations: 0 / 292.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.004208, allocations: 153.6 kB / 293 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.004456, allocations: 129.3 kB / 293.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.004702, allocations: 98.47 kB / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.004865, allocations: 91.03 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.004956, allocations: 23.95 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.00509, allocations: 75.81 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.00521, allocations: 63.86 kB / 293.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.005228, allocations: 8 kB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.005324, allocations: 47.91 kB / 293.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.005368, allocations: 19.94 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.005402, allocations: 19.88 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.005574, allocations: 99.55 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.005588, allocations: 0 / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005589, allocations: 0 / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.005602, allocations: 0 / 293.7 MB, free: 5.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004445/0.006047, allocations: 352.4 kB / 294 MB, free: 4.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.006077, allocations: 8.031 kB / 294 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.006117, allocations: 20.92 kB / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.006283, allocations: 153.4 kB / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.006292, allocations: 384 / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.006312, allocations: 8.375 kB / 294.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.006418, allocations: 50.95 kB / 294.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.006426, allocations: 192 / 294.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006435, allocations: 8.125 kB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006441, allocations: 3.984 kB / 294.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.006471, allocations: 11.98 kB / 294.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.006721, allocations: 179 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.006782, allocations: 26.58 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.006801, allocations: 16.94 kB / 294.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.006822, allocations: 0 / 294.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.006846, allocations: 38.5 kB / 294.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006847, allocations: 0 / 294.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.007402, allocations: 149.4 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.007434, allocations: 51.41 kB / 294.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.007602, allocations: 210.9 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007616, allocations: 29.7 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.007658, allocations: 100.1 kB / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.007687, allocations: 27.72 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007721, allocations: 21.72 kB / 295.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.007811, allocations: 330.8 kB / 295.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.00783, allocations: 4 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.007845, allocations: 8 kB / 295.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.007891, allocations: 29.05 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007892, allocations: 0 / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.249e-05/0.007984, allocations: 69.55 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007998, allocations: 4 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008004, allocations: 8 kB / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.008012, allocations: 0 / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.008108, allocations: 15.98 kB / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.00811, allocations: 0 / 295.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.008141, allocations: 8 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.008148, allocations: 3.984 kB / 295.6 MB, free: 3.133 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 (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 6.798e-05/0.008216, allocations: 116.7 kB / 295.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.008245, allocations: 7.938 kB / 295.7 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.008382, allocations: 79.06 kB / 295.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.008384, allocations: 0 / 295.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008386, allocations: 4 kB / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.008388, allocations: 0 / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.008702, allocations: 259.5 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.008704, allocations: 0 / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.008772, allocations: 16 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.008791, allocations: 19.88 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008794, allocations: 0 / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008802, allocations: 4 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008804, allocations: 3.938 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.008806, allocations: 0 / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.00892, allocations: 168.3 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.008941, allocations: 4 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.009001, allocations: 0 / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.009031, allocations: 12.41 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.009037, allocations: 0 / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.009112, allocations: 80.86 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009112, allocations: 0 / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.009315, allocations: 23.94 kB / 296.4 MB, free: 2.285 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 (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.001743/0.01106, allocations: 0.63 MB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.01114, allocations: 36.72 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.01114, allocations: 4 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.01117, allocations: 24.78 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01138, allocations: 34.48 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.01224, allocations: 256.9 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.0123, allocations: 75.33 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.01234, allocations: 13.03 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.01241, allocations: 63.36 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01241, allocations: 4 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of Templates: time 0.003961/0.01637, allocations: 1.531 MB / 299 MB, free: 15.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.162403984926641]