Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001039/0.001039, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009298/0.0009298, allocations: 168.2 kB / 24.82 MB, free: 9.27 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.9245/0.9245, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2467/0.2467, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CombiTable1Dv.Test11,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.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.CombiTable1Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.449e-05, allocations: 10.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002004/0.002019, allocations: 1.626 MB / 378.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.002734, allocations: 0.5376 MB / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.002793, allocations: 0 / 378.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.002998, allocations: 27.78 kB / 378.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.003243, allocations: 79.61 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003462, allocations: 111.5 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003584, allocations: 71.77 kB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.003666, allocations: 12 kB / 379 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.003721, allocations: 39.83 kB / 379 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.003766, allocations: 8 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.003778, allocations: 0 / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.003834, allocations: 35.92 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.003874, allocations: 23.91 kB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003894, allocations: 4 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.004013, allocations: 79.62 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004015, allocations: 0 / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004015, allocations: 0 / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004018, allocations: 0 / 379.1 MB, free: 1.73 MB / 346.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.0003288/0.004347, allocations: 432 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.00438, allocations: 8.031 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.004406, allocations: 8.891 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.004512, allocations: 137.1 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.00452, allocations: 4.375 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.004534, allocations: 384 / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.004617, allocations: 58.7 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004626, allocations: 4 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004633, allocations: 0 / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004638, allocations: 0 / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.004659, allocations: 11.92 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.004868, allocations: 260.4 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.004981, allocations: 43.05 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.004999, allocations: 11.62 kB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.005017, allocations: 4 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.005036, allocations: 37.33 kB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.005037, allocations: 0 / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002236/0.005261, allocations: 85.64 kB / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.005283, allocations: 59.34 kB / 380.3 MB, free: 460 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.005379, allocations: 216.8 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005387, allocations: 29.7 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.005435, allocations: 150.8 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.005453, allocations: 23.83 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.005492, allocations: 23.36 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.005599, allocations: 0.4962 MB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.00561, allocations: 4 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.00562, allocations: 0 / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.005651, allocations: 27.67 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005653, allocations: 3.938 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.475e-05/0.005708, allocations: 53.59 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005718, allocations: 13.86 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005722, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.005733, allocations: 288 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.005767, allocations: 8 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.00577, allocations: 0 / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.005786, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.005791, allocations: 3.984 kB / 381.3 MB, free: 15.34 MB / 362.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 6.015e-05/0.005851, allocations: 160.5 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.005871, allocations: 19.89 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.005965, allocations: 70.33 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.005968, allocations: 8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.005969, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005971, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.00616, allocations: 298 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006161, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.006186, allocations: 8 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006188, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.006193, allocations: 3.984 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006193, allocations: 4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006194, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.646e-05/0.00628, allocations: 207.8 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006288, allocations: 11.95 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.006298, allocations: 4 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.006327, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.006351, allocations: 7.984 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006353, allocations: 0 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.006406, allocations: 161.9 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006406, allocations: 0 / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.00655, allocations: 12 kB / 382.3 MB, free: 14.32 MB / 362.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.0007099/0.00726, allocations: 385.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.007327, allocations: 31.61 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007328, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.007346, allocations: 15.81 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.007534, allocations: 31.91 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.008054, allocations: 182.4 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.008087, allocations: 63.34 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.008113, allocations: 8 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.008163, allocations: 86.12 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008163, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002601/0.01076, allocations: 1.297 MB / 384.4 MB, free: 12.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.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.758098518010229]