Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001448/0.001448, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001246/0.001246, allocations: 164 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.39 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.978e-05, allocations: 13.34 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002192/0.002222, allocations: 1.726 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.003076, allocations: 0.7842 MB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.003152, allocations: 3.938 kB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.003464, allocations: 39.78 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.003661, allocations: 63.73 kB / 351.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.003842, allocations: 83.66 kB / 351.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003972, allocations: 103.6 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.004056, allocations: 4.234 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.004125, allocations: 51.84 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.004189, allocations: 27.89 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004204, allocations: 4 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.004274, allocations: 43.92 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.004326, allocations: 27.86 kB / 351.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.004357, allocations: 23.92 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004494, allocations: 95.66 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004496, allocations: 4 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004497, allocations: 0 / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004501, allocations: 0 / 352.1 MB, free: 5.984 MB / 282.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.0003395/0.00484, allocations: 451.8 kB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.004874, allocations: 12.03 kB / 352.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.004911, allocations: 12.84 kB / 352.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005033, allocations: 149.8 kB / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.005049, allocations: 384 / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.005065, allocations: 8.375 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/0.005156, allocations: 58.94 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.005166, allocations: 3.938 kB / 352.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005174, allocations: 4 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005179, allocations: 0 / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.005204, allocations: 15.92 kB / 352.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.008473, allocations: 264.4 kB / 353 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.008552, allocations: 47.17 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.008569, allocations: 19.66 kB / 353.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.008578, allocations: 8 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.238e-05/0.008651, allocations: 76.91 kB / 353.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.008652, allocations: 0 / 353.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002428/0.008895, allocations: 129.5 kB / 353.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.472e-05/0.00891, allocations: 51.41 kB / 353.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.008981, allocations: 231.9 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.008987, allocations: 25.7 kB / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.009021, allocations: 158.8 kB / 353.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.009039, allocations: 19.8 kB / 353.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.009066, allocations: 35.34 kB / 353.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.009109, allocations: 0.5001 MB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.009121, allocations: 8 kB / 354.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.009144, allocations: 31.34 kB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.009183, allocations: 51.28 kB / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.009184, allocations: 0 / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001114/0.009295, allocations: 93.53 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.009306, allocations: 4 kB / 354.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.00931, allocations: 4 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.009317, allocations: 4.031 kB / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.009379, allocations: 15.98 kB / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.009381, allocations: 0 / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.009417, allocations: 4 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.009422, allocations: 0 / 354.5 MB, free: 3.312 MB / 282.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 5.483e-05/0.009477, allocations: 160.6 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.009499, allocations: 19.83 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.009633, allocations: 99.06 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009635, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.009637, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.00964, allocations: 8 kB / 354.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.009888, allocations: 365.5 kB / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.00989, allocations: 384 / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.009921, allocations: 15.94 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.009926, allocations: 8 kB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.009932, allocations: 0 / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009934, allocations: 0 / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009936, allocations: 4 kB / 355.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01007, allocations: 247.4 kB / 355.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01009, allocations: 11.91 kB / 355.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.01011, allocations: 12.02 kB / 355.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.01018, allocations: 4 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.0102, allocations: 7.984 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01021, allocations: 0 / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.01027, allocations: 163.8 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01027, allocations: 0 / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.01057, allocations: 23.94 kB / 355.6 MB, free: 2.105 MB / 282.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.001154/0.01173, allocations: 440 kB / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01184, allocations: 59.52 kB / 356.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01184, allocations: 0 / 356.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.01188, allocations: 31.61 kB / 356.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.0122, allocations: 35.81 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.01256, allocations: 217.1 kB / 356.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.0126, allocations: 71.33 kB / 356.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.01264, allocations: 12.5 kB / 356.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.01271, allocations: 98.25 kB / 356.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01272, allocations: 0 / 356.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of Templates: time 0.003493/0.01621, allocations: 2.033 MB / 358.6 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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: 3.2951538120396435]