Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001095/0.001095, allocations: 80.8 kB / 21.5 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.001287/0.001287, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.9599/0.9599, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2701/0.2701, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.745e-05, allocations: 14.75 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002176/0.002204, allocations: 1.641 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.002946, allocations: 0.5491 MB / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.003001, allocations: 0 / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.003248, allocations: 95.61 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.003512, allocations: 111.5 kB / 325.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.003765, allocations: 119.6 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003895, allocations: 83.81 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.00398, allocations: 15.98 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.004045, allocations: 43.89 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.004128, allocations: 51.88 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.00414, allocations: 0 / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.004217, allocations: 51.86 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.004259, allocations: 27.84 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.004283, allocations: 11.94 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.00442, allocations: 91.66 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004424, allocations: 8 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004424, allocations: 0 / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.004428, allocations: 0 / 326.1 MB, free: 6.773 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.0003308/0.004759, allocations: 329.3 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.004792, allocations: 8.031 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.00482, allocations: 16.88 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.00494, allocations: 137.6 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.004947, allocations: 4.375 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004967, allocations: 4.375 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.005058, allocations: 62.92 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.005066, allocations: 4.141 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005074, allocations: 8.125 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.005078, allocations: 0 / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.005099, allocations: 11.98 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.005302, allocations: 175.7 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.83e-05/0.005351, allocations: 33.39 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.005366, allocations: 12.94 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.005381, allocations: 0 / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.005399, allocations: 34.5 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.0054, allocations: 0 / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003941/0.005794, allocations: 153.4 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.00582, allocations: 51.41 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.005941, allocations: 196.2 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005951, allocations: 25.7 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.005983, allocations: 96.06 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.006004, allocations: 27.78 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.006032, allocations: 17.72 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.006106, allocations: 330.8 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.00612, allocations: 8 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.006132, allocations: 8 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.006169, allocations: 31.61 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.00617, allocations: 0 / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.109e-05/0.006231, allocations: 65.53 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006242, allocations: 8 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006247, allocations: 0 / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.006255, allocations: 0 / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.006314, allocations: 15.98 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.006316, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.006335, allocations: 8 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.006341, allocations: 4 kB / 328 MB, free: 4.762 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.691e-05/0.006397, allocations: 112.7 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.006417, allocations: 15.92 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.006525, allocations: 83.31 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006527, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.006528, allocations: 0 / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006531, allocations: 0 / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.00676, allocations: 247.5 kB / 328.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.006765, allocations: 8 kB / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.006801, allocations: 15.98 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006803, allocations: 4.031 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006807, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.006809, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006811, allocations: 4 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.533e-05/0.006897, allocations: 168.2 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.006908, allocations: 15.89 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.006918, allocations: 0 / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.006951, allocations: 4 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.006975, allocations: 7.984 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006979, allocations: 4 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.007022, allocations: 59.64 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007023, allocations: 0 / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.00716, allocations: 23.94 kB / 328.8 MB, free: 3.93 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.001162/0.008322, allocations: 0.5702 MB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.008407, allocations: 32.78 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.008411, allocations: 0 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.008436, allocations: 32.77 kB / 329.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.00859, allocations: 23.05 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.008922, allocations: 247.5 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.008977, allocations: 71.33 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.009015, allocations: 16.78 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.009064, allocations: 55.38 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009065, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of Templates: time 0.003126/0.01219, allocations: 1.535 MB / 331.3 MB, free: 1.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.872457647230476]