Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002021/0.002021, allocations: 87.67 kB / 20.21 MB, free: 4.203 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.002309/0.002309, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.574/1.574, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2414/0.2414, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.254e-05/5.499e-05, allocations: 10.19 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003652/0.003707, allocations: 1.706 MB / 348.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.005114, allocations: 0.7843 MB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.005202, allocations: 0 / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.005694, allocations: 87.62 kB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.006017, allocations: 79.61 kB / 349.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.006278, allocations: 91.69 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.006479, allocations: 103.7 kB / 349.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.006632, allocations: 8.219 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.006783, allocations: 67.75 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.006926, allocations: 51.88 kB / 350 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.006968, allocations: 4 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.007076, allocations: 43.92 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.007151, allocations: 23.91 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.007206, allocations: 19.92 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.007446, allocations: 123.5 kB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.007452, allocations: 4 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.007453, allocations: 0 / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.007461, allocations: 0 / 350.2 MB, free: 6.508 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.000673/0.008134, allocations: 451.6 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.008185, allocations: 8.031 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.008259, allocations: 16.84 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.008503, allocations: 156.3 kB / 350.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.008524, allocations: 4.375 kB / 350.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.008554, allocations: 4.375 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.008717, allocations: 54.17 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.008733, allocations: 7.938 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.008747, allocations: 4 kB / 350.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.008754, allocations: 0 / 350.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.00884, allocations: 15.98 kB / 350.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.009244, allocations: 299.8 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.009421, allocations: 63.11 kB / 351.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.009472, allocations: 27.61 kB / 351.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.009496, allocations: 0 / 351.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.009647, allocations: 73.05 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.009648, allocations: 4 kB / 351.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.01027, allocations: 177.3 kB / 351.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.01031, allocations: 55.41 kB / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.0105, allocations: 254.6 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.01051, allocations: 25.7 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.01058, allocations: 162.9 kB / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.01062, allocations: 27.78 kB / 352.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.01066, allocations: 35.36 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01081, allocations: 0.5001 MB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.077e-05/0.01086, allocations: 16 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.01092, allocations: 47.3 kB / 352.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.01102, allocations: 71.3 kB / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01102, allocations: 0 / 352.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.01118, allocations: 101.5 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.0112, allocations: 11.98 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.0112, allocations: 4.359 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.01122, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01133, allocations: 16 kB / 352.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.01134, allocations: 8 kB / 352.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.01138, allocations: 0 / 352.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01139, allocations: 12.02 kB / 352.9 MB, free: 3.617 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 9.854e-05/0.01149, allocations: 169.4 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.01152, allocations: 19.91 kB / 353.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.01178, allocations: 119.2 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01178, allocations: 0 / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.01179, allocations: 4 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.01179, allocations: 0 / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.01218, allocations: 417 kB / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01218, allocations: 0 / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.01222, allocations: 12 kB / 353.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01222, allocations: 4.031 kB / 353.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01223, allocations: 7.938 kB / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01224, allocations: 0 / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01224, allocations: 0 / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.01245, allocations: 275.4 kB / 353.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.01247, allocations: 15.89 kB / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.0125, allocations: 0 / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.01256, allocations: 4 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.01263, allocations: 11.98 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.01266, allocations: 4 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01278, allocations: 191.1 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01278, allocations: 0 / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.01303, allocations: 23.92 kB / 354.1 MB, free: 2.277 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.003354/0.01638, allocations: 0.4888 MB / 354.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.01665, allocations: 71.59 kB / 354.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01665, allocations: 0 / 354.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.01673, allocations: 39.61 kB / 354.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01712, allocations: 33.52 kB / 354.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01773, allocations: 241 kB / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.986e-05/0.01782, allocations: 92.81 kB / 355.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.01787, allocations: 24.91 kB / 355.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.01792, allocations: 16.5 kB / 355.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01792, allocations: 0 / 355.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of Templates: time 0.006095/0.02401, allocations: 1.832 MB / 356.9 MB, free: 15.51 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.753273809095845]