Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001057/0.001057, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.001274/0.001274, allocations: 165 kB / 23.79 MB, free: 0.7891 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 0.9157/0.9157, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1287/0.1287, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.31e-05, allocations: 12.16 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002267/0.00231, allocations: 1.73 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003632, allocations: 1.524 MB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.003706, allocations: 0 / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.004024, allocations: 35.83 kB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.004261, allocations: 67.61 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.004449, allocations: 83.72 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004591, allocations: 103.7 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.004682, allocations: 12.17 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.004764, allocations: 63.81 kB / 351.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.004861, allocations: 27.91 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.004881, allocations: 8 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.004985, allocations: 59.91 kB / 351.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.005034, allocations: 19.92 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.005077, allocations: 27.91 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.005258, allocations: 123.5 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00526, allocations: 0 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005261, allocations: 0 / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.005266, allocations: 0 / 351.6 MB, free: 5.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004218/0.005688, allocations: 440 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.005734, allocations: 12.03 kB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.005789, allocations: 8.891 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.005967, allocations: 156.9 kB / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.005985, allocations: 384 / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.00601, allocations: 4.375 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.006165, allocations: 119.4 kB / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006174, allocations: 0 / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006183, allocations: 0 / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.00619, allocations: 4 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.006238, allocations: 19.91 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.006514, allocations: 299.6 kB / 352.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.006626, allocations: 59.17 kB / 352.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.006656, allocations: 19.67 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.006671, allocations: 0 / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.387e-05/0.006765, allocations: 77.11 kB / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006767, allocations: 0 / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004039/0.00717, allocations: 173.3 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.007196, allocations: 77.11 kB / 353.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.007289, allocations: 221.8 kB / 353.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.007299, allocations: 25.7 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.007333, allocations: 146.9 kB / 353.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.007355, allocations: 27.75 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.007387, allocations: 35.36 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.007433, allocations: 0.5 MB / 354 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.007461, allocations: 8 kB / 354 MB, free: 2.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.007503, allocations: 72.75 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.007564, allocations: 59.3 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.007565, allocations: 0 / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001103/0.007676, allocations: 105.6 kB / 354.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007688, allocations: 4 kB / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007693, allocations: 4.453 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.00771, allocations: 4 kB / 354.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.007787, allocations: 12 kB / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007793, allocations: 3.938 kB / 354.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.00783, allocations: 7.938 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007838, allocations: 7.984 kB / 354.3 MB, free: 2.539 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 (11): * Single equations (assignments): 11 * 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.468e-05/0.007893, allocations: 160.6 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007908, allocations: 19.94 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.008066, allocations: 118.4 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008068, allocations: 8 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.008073, allocations: 0 / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008077, allocations: 3.984 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.008326, allocations: 404.9 kB / 355 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.008328, allocations: 0 / 355 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.008363, allocations: 15.98 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.008367, allocations: 4 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008375, allocations: 32 / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.008378, allocations: 7.938 kB / 355 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.00838, allocations: 4 kB / 355 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.008509, allocations: 275.3 kB / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.008526, allocations: 15.92 kB / 355.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.008544, allocations: 4 kB / 355.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.008588, allocations: 7.938 kB / 355.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.008622, allocations: 11.98 kB / 355.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.008636, allocations: 4 kB / 355.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.008684, allocations: 155.2 kB / 355.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008684, allocations: 0 / 355.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.008873, allocations: 43.92 kB / 355.5 MB, free: 1.215 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 (11): * Single equations (assignments): 9 * 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.0009735/0.009847, allocations: 478.9 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.009986, allocations: 67.53 kB / 356.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009988, allocations: 3.938 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.01003, allocations: 39.73 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01026, allocations: 36.2 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.01059, allocations: 217.3 kB / 356.4 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.01062, allocations: 67.34 kB / 356.4 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.01066, allocations: 16.97 kB / 356.4 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.0107, allocations: 24.48 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0107, allocations: 4.062 kB / 356.5 MB, free: 320 kB / 282.7 MB Notification: Performance of Templates: time 0.004265/0.01496, allocations: 2.261 MB / 358.7 MB, free: 14.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.367539406288415]