Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001046/0.001046, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009413/0.0009413, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9246/0.9246, allocations: 177.1 MB / 205 MB, free: 5.641 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.2851/0.2851, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.116e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002259/0.002281, allocations: 1.649 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.003044, allocations: 0.5376 MB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.003102, allocations: 4 kB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.003307, allocations: 27.78 kB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.003615, allocations: 75.56 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.003891, allocations: 115.6 kB / 378.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004037, allocations: 75.7 kB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.004126, allocations: 7.984 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.004182, allocations: 31.92 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.004237, allocations: 19.92 kB / 378.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.004249, allocations: 0 / 378.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.004334, allocations: 31.97 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.004381, allocations: 11.94 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.004411, allocations: 15.98 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.00456, allocations: 67.73 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004563, allocations: 4 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004564, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004568, allocations: 0 / 378.7 MB, free: 1.988 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.0003718/0.00494, allocations: 412 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.004972, allocations: 12.03 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.005015, allocations: 12.89 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.005141, allocations: 132.5 kB / 379.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005151, allocations: 4.375 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.005168, allocations: 384 / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.005274, allocations: 54.95 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.005284, allocations: 192 / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.005292, allocations: 4.125 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005298, allocations: 0 / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.005329, allocations: 15.92 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.005601, allocations: 275.8 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.005753, allocations: 43.05 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005771, allocations: 7.688 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.005789, allocations: 7.938 kB / 379.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.005809, allocations: 37.33 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.005811, allocations: 3.984 kB / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000313/0.006124, allocations: 105.5 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.006152, allocations: 51.41 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.006255, allocations: 204.8 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.006264, allocations: 25.7 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006311, allocations: 150.8 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.006331, allocations: 23.8 kB / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.006358, allocations: 19.38 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.006476, allocations: 0.4884 MB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.006495, allocations: 8 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.006508, allocations: 4 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.006545, allocations: 27.86 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006547, allocations: 7.938 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.479e-05/0.006622, allocations: 65.53 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.006636, allocations: 9.859 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006641, allocations: 4 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006653, allocations: 0 / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.006693, allocations: 12 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006697, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.006714, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006721, allocations: 7.984 kB / 380.9 MB, free: 15.58 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 5.756e-05/0.006778, allocations: 152.6 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.006798, allocations: 15.89 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.006915, allocations: 70.08 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006917, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.00692, allocations: 4 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006923, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.007141, allocations: 317.4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007142, allocations: 0 / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.007172, allocations: 11.98 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.007175, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007182, allocations: 4 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007184, allocations: 3.938 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007185, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.007285, allocations: 208 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.007292, allocations: 8.016 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007304, allocations: 8 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.007336, allocations: 7.984 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.007369, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.007372, allocations: 0 / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.007429, allocations: 151.2 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007429, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.007587, allocations: 12 kB / 381.8 MB, free: 14.55 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.000823/0.00841, allocations: 390.8 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.731e-05/0.008507, allocations: 31.61 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.00851, allocations: 4 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.008531, allocations: 15.69 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.008741, allocations: 27.91 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.009255, allocations: 182.5 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.009294, allocations: 63.34 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.009337, allocations: 11.98 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.009364, allocations: 12.5 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009364, allocations: 0 / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003177/0.01254, allocations: 1.255 MB / 383.8 MB, free: 12.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.8940002392046154]