Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009251/0.0009251, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001051/0.001051, allocations: 167.5 kB / 24.84 MB, free: 9.297 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.959/0.959, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1327/0.1327, allocations: 32.37 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.101e-05, allocations: 4.281 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002809/0.00284, allocations: 1.726 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.004646, allocations: 1.509 MB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.004739, allocations: 4 kB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.005114, allocations: 39.77 kB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.005388, allocations: 67.56 kB / 352.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.005634, allocations: 83.7 kB / 352.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.005797, allocations: 99.69 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.00589, allocations: 12.22 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.005982, allocations: 55.77 kB / 352.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.006094, allocations: 27.91 kB / 352.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.006114, allocations: 4 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.006232, allocations: 59.91 kB / 352.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.006284, allocations: 23.91 kB / 352.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.00632, allocations: 15.94 kB / 352.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.006528, allocations: 111.6 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006532, allocations: 8 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006533, allocations: 3.938 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006538, allocations: 0 / 352.8 MB, free: 5.223 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.0004121/0.00695, allocations: 428 kB / 353.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.006992, allocations: 12.03 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.007038, allocations: 8.891 kB / 353.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.007203, allocations: 148.4 kB / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.00722, allocations: 4.375 kB / 353.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.007239, allocations: 4.375 kB / 353.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.007388, allocations: 108 kB / 353.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007401, allocations: 7.938 kB / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00741, allocations: 0 / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.007416, allocations: 0 / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.007451, allocations: 11.98 kB / 353.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.007701, allocations: 260.4 kB / 353.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.007803, allocations: 47.11 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.007831, allocations: 23.66 kB / 353.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007844, allocations: 4 kB / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.545e-05/0.00794, allocations: 64.97 kB / 353.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.007941, allocations: 4 kB / 353.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003756/0.008317, allocations: 133.4 kB / 354.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.00835, allocations: 81.11 kB / 354.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.008456, allocations: 205 kB / 354.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008468, allocations: 25.7 kB / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.00851, allocations: 146.8 kB / 354.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.008539, allocations: 31.73 kB / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.008581, allocations: 31.36 kB / 354.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.008654, allocations: 0.4923 MB / 355.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.008675, allocations: 11.98 kB / 355.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.008721, allocations: 72.69 kB / 355.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.008783, allocations: 39.44 kB / 355.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.008785, allocations: 4 kB / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.008905, allocations: 93.48 kB / 355.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008918, allocations: 4 kB / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008924, allocations: 0 / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.008936, allocations: 0 / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.009009, allocations: 16 kB / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.009012, allocations: 0 / 355.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.009056, allocations: 16.05 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.009064, allocations: 0 / 355.3 MB, free: 2.48 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 7.011e-05/0.009134, allocations: 160.5 kB / 355.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.009158, allocations: 23.83 kB / 355.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.009312, allocations: 94.38 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.009315, allocations: 4 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009317, allocations: 0 / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.009321, allocations: 0 / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.009611, allocations: 361.5 kB / 356 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009613, allocations: 4.406 kB / 356 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.009646, allocations: 11.98 kB / 356 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.009648, allocations: 0 / 356 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.009661, allocations: 8 kB / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009662, allocations: 0 / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009664, allocations: 0 / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.009805, allocations: 251.4 kB / 356.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.009817, allocations: 7.953 kB / 356.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.009837, allocations: 4 kB / 356.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.009901, allocations: 3.984 kB / 356.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.00993, allocations: 7.984 kB / 356.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.009946, allocations: 12 kB / 356.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.009999, allocations: 146.4 kB / 356.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009999, allocations: 4 kB / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01029, allocations: 31.92 kB / 356.4 MB, free: 1.293 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.001053/0.01134, allocations: 496.4 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01147, allocations: 47.66 kB / 357 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01148, allocations: 0 / 357 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.01151, allocations: 35.55 kB / 357 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01175, allocations: 39.7 kB / 357 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.01204, allocations: 193.1 kB / 357.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.01207, allocations: 75.17 kB / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.158e-05/0.01211, allocations: 20.92 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.01218, allocations: 94.17 kB / 357.4 MB, free: 360 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01218, allocations: 0 / 357.4 MB, free: 360 kB / 282.7 MB Notification: Performance of Templates: time 0.004095/0.01627, allocations: 2.337 MB / 359.8 MB, free: 14.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.270896899048239]