Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008955/0.0008955, allocations: 80.92 kB / 21.49 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.001015/0.001015, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2765/0.2765, allocations: 32.81 MB / 294.6 MB, free: 1.133 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.176e-05, allocations: 2.969 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002235/0.002257, allocations: 1.754 MB / 325.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.003955, allocations: 1.005 MB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.004041, allocations: 0 / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.004348, allocations: 39.64 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.004706, allocations: 95.53 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.004941, allocations: 83.59 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.005128, allocations: 103.6 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.005218, allocations: 17.34 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.005337, allocations: 51.84 kB / 326.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.00542, allocations: 31.84 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005437, allocations: 4 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.005535, allocations: 47.92 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.005586, allocations: 15.92 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.005623, allocations: 19.92 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.00582, allocations: 99.59 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005822, allocations: 0 / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005823, allocations: 0 / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.005827, allocations: 0 / 326.7 MB, free: 6.254 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004233/0.00625, allocations: 309.5 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.006284, allocations: 11.97 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.006322, allocations: 8.938 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.006504, allocations: 152.8 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.00652, allocations: 384 / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.006543, allocations: 8.359 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.006673, allocations: 65.7 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.006684, allocations: 3.938 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006692, allocations: 4 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006698, allocations: 0 / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.00673, allocations: 4 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.006976, allocations: 170 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.007091, allocations: 89.3 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.007121, allocations: 16.83 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.007131, allocations: 3.938 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.007235, allocations: 66.16 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.007236, allocations: 0 / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003407/0.007577, allocations: 117.5 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.007612, allocations: 51.41 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007736, allocations: 158.9 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.007756, allocations: 33.69 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.007791, allocations: 92.12 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.007824, allocations: 27.77 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.007862, allocations: 21.72 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.007958, allocations: 330.8 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.007981, allocations: 6.828 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.008014, allocations: 25.7 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.008075, allocations: 48.52 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008077, allocations: 0 / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.008182, allocations: 72.38 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.008198, allocations: 12.03 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008203, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008215, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.008295, allocations: 15.98 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.008298, allocations: 0 / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.008339, allocations: 8 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.008345, allocations: 3.938 kB / 328.6 MB, free: 4.18 MB / 298.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 8.324e-05/0.008429, allocations: 124.6 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.008451, allocations: 11.94 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.008586, allocations: 70.44 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.008589, allocations: 4 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.008591, allocations: 0 / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008594, allocations: 0 / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.00889, allocations: 299.4 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008892, allocations: 0 / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.008936, allocations: 16.3 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.00894, allocations: 0 / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.008947, allocations: 0 / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.008957, allocations: 8 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.008959, allocations: 0 / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009109, allocations: 219 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.009125, allocations: 7.953 kB / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.009149, allocations: 3.984 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.009221, allocations: 4 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.009251, allocations: 11.98 kB / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.009265, allocations: 0 / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.009322, allocations: 41.19 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009322, allocations: 0 / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.009573, allocations: 27.92 kB / 329.4 MB, free: 3.281 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: 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.001767/0.01134, allocations: 0.5844 MB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01145, allocations: 40.77 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01146, allocations: 4 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.0115, allocations: 28.91 kB / 330.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01177, allocations: 27.92 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.01319, allocations: 216.1 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.01323, allocations: 67.28 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.01328, allocations: 13.28 kB / 330.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.01337, allocations: 71.36 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01337, allocations: 0 / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of Templates: time 0.004883/0.01825, allocations: 2.011 MB / 332.4 MB, free: 0.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.9567315480671823]