Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001283/0.001283, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001385/0.001385, allocations: 165 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.8998/0.8998, allocations: 177.1 MB / 205 MB, free: 5.617 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.2436/0.2436, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.869e-05, allocations: 6.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002248/0.002267, allocations: 1.777 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003512, allocations: 1.005 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.00359, allocations: 7.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.003873, allocations: 83.64 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.004118, allocations: 111.5 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.004242, allocations: 87.59 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004403, allocations: 119.6 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.004481, allocations: 11.97 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.004555, allocations: 59.83 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.004643, allocations: 59.86 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.004657, allocations: 4 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.004725, allocations: 51.86 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.004775, allocations: 19.92 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.004809, allocations: 27.86 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.004983, allocations: 95.66 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004985, allocations: 0 / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004986, allocations: 4 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.00499, allocations: 0 / 379.6 MB, free: 1.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004355/0.005426, allocations: 455.8 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.00546, allocations: 8.031 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.005507, allocations: 20.83 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005664, allocations: 156.3 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005681, allocations: 12.38 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005704, allocations: 4.328 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.00581, allocations: 62.94 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005819, allocations: 3.938 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005827, allocations: 0 / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005833, allocations: 0 / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.005864, allocations: 11.98 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.006141, allocations: 291.8 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.006239, allocations: 51.17 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.006265, allocations: 19.62 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.006276, allocations: 4 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.914e-05/0.006366, allocations: 80.95 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006367, allocations: 0 / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003594/0.006726, allocations: 157.3 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.006754, allocations: 55.34 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.006885, allocations: 242.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006897, allocations: 29.7 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.006952, allocations: 158.9 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.006981, allocations: 35.73 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.00701, allocations: 23.38 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.007127, allocations: 0.5001 MB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.00715, allocations: 11.98 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.007184, allocations: 35.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.00724, allocations: 51.25 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007241, allocations: 384 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.58e-05/0.007337, allocations: 85.64 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.007348, allocations: 6.031 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.007351, allocations: 4.031 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007363, allocations: 4 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.007429, allocations: 23.92 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007434, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.00746, allocations: 4 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.007465, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.346e-05/0.007529, allocations: 168.5 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.007543, allocations: 19.84 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.007681, allocations: 111.2 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007682, allocations: 0 / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.007685, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007689, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.007973, allocations: 396.9 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007974, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.007998, allocations: 15.98 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.008, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.008009, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008012, allocations: 4 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.008014, allocations: 3.938 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.008159, allocations: 255.5 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.008169, allocations: 15.92 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008183, allocations: 0 / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.008223, allocations: 11.98 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.008251, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.008263, allocations: 7.984 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.008349, allocations: 185 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00835, allocations: 0 / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.008515, allocations: 27.92 kB / 383.4 MB, free: 12.95 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008426/0.009358, allocations: 435.2 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009487, allocations: 55.61 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009488, allocations: 0 / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.009534, allocations: 31.61 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.009757, allocations: 27.97 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.01011, allocations: 240.6 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.01015, allocations: 71.27 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.01019, allocations: 25.39 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.01022, allocations: 16.44 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01022, allocations: 4 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003436/0.01366, allocations: 2.022 MB / 386.3 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.97078617522493]