Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001536/0.001536, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002086/0.002086, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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.728/1.728, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2481/0.2481, allocations: 32.37 MB / 270 MB, free: 14.78 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.279e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002541/0.002574, allocations: 1.652 MB / 348.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003711, allocations: 0.7532 MB / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.003776, allocations: 0 / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.004111, allocations: 63.8 kB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004341, allocations: 71.61 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004544, allocations: 79.7 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.004725, allocations: 111.6 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.004772, allocations: 3.984 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.004876, allocations: 51.89 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004988, allocations: 43.88 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.005012, allocations: 7.938 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.005091, allocations: 27.94 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.005157, allocations: 23.86 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.005212, allocations: 15.92 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.005419, allocations: 99.64 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005423, allocations: 0 / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005423, allocations: 0 / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005429, allocations: 4 kB / 350 MB, free: 6.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005956/0.006024, allocations: 329.8 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.006078, allocations: 8.031 kB / 350.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.006163, allocations: 12.89 kB / 350.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.006424, allocations: 145.5 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.006442, allocations: 8.375 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.006454, allocations: 384 / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.006601, allocations: 50.23 kB / 350.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006613, allocations: 3.938 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006624, allocations: 0 / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.00663, allocations: 4 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.006704, allocations: 19.97 kB / 350.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.006867, allocations: 133.2 kB / 350.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.00703, allocations: 54.56 kB / 350.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.007095, allocations: 20.84 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.007114, allocations: 0 / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.007263, allocations: 71.34 kB / 350.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.007264, allocations: 0 / 350.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002953/0.00756, allocations: 109.5 kB / 351 MB, free: 5.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.007591, allocations: 51.41 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.007735, allocations: 188.5 kB / 351.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007747, allocations: 29.7 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.007791, allocations: 100.1 kB / 351.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.007823, allocations: 11.91 kB / 351.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.007856, allocations: 21.72 kB / 351.4 MB, free: 5.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.007927, allocations: 322.8 kB / 351.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.007975, allocations: 15.98 kB / 351.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.008033, allocations: 29.7 kB / 351.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.753e-05/0.008121, allocations: 49.66 kB / 351.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008124, allocations: 0 / 351.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001334/0.008257, allocations: 81.94 kB / 351.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.008275, allocations: 8 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008281, allocations: 3.938 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.008303, allocations: 0 / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.00839, allocations: 19.92 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.008397, allocations: 0 / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.008441, allocations: 12.03 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.008448, allocations: 4 kB / 351.9 MB, free: 4.66 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 (7): * Single equations (assignments): 7 * 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 7.499e-05/0.008523, allocations: 118.8 kB / 352 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.008545, allocations: 15.89 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.00874, allocations: 102 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008742, allocations: 0 / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.008747, allocations: 0 / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.00875, allocations: 4 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.008853, allocations: 125.3 kB / 352.2 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008854, allocations: 4 kB / 352.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.008879, allocations: 11.98 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008881, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.00889, allocations: 3.938 kB / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008892, allocations: 3.938 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008893, allocations: 0 / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.009067, allocations: 117 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.009086, allocations: 15.89 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.009107, allocations: 0 / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.009146, allocations: 11.92 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.009193, allocations: 3.938 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.009208, allocations: 8 kB / 352.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.009308, allocations: 148.1 kB / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009308, allocations: 0 / 352.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.009521, allocations: 12 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001812/0.01133, allocations: 445.7 kB / 353 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.0115, allocations: 35.98 kB / 353 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0115, allocations: 0 / 353 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.01156, allocations: 23.92 kB / 353.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01185, allocations: 40.94 kB / 353.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01225, allocations: 203.7 kB / 353.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.01231, allocations: 95.19 kB / 353.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.01235, allocations: 16.72 kB / 353.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.01238, allocations: 12.5 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01239, allocations: 0 / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of Templates: time 0.004774/0.01716, allocations: 1.622 MB / 355.1 MB, free: 1.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.311047737952322]