Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001017/0.001017, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001112/0.001112, allocations: 171.5 kB / 24.91 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2812/0.2812, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.054e-05, allocations: 2.312 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002679/0.002699, allocations: 1.791 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003953, allocations: 1.005 MB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.004029, allocations: 7.938 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.00432, allocations: 39.72 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.004604, allocations: 95.53 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.004801, allocations: 79.59 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.004956, allocations: 119.5 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.005035, allocations: 5.375 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.005116, allocations: 47.91 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.005188, allocations: 35.83 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.005202, allocations: 4 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.005281, allocations: 43.92 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.005329, allocations: 23.92 kB / 326.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.00536, allocations: 19.92 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.005512, allocations: 107.5 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005514, allocations: 4 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005515, allocations: 0 / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005519, allocations: 0 / 326.8 MB, free: 6.137 MB / 298.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.0003254/0.005844, allocations: 317.4 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.005875, allocations: 12.03 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.005902, allocations: 8.922 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006044, allocations: 158.1 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.006056, allocations: 384 / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.006072, allocations: 8.312 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.006167, allocations: 65.75 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.006176, allocations: 7.938 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.006182, allocations: 0 / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006187, allocations: 4 kB / 327.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.006208, allocations: 4 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.006418, allocations: 174 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.006503, allocations: 89.22 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.006523, allocations: 8.859 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.006533, allocations: 0 / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.594e-05/0.006619, allocations: 74.14 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.00662, allocations: 0 / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002768/0.006897, allocations: 121.5 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.006929, allocations: 55.41 kB / 327.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007031, allocations: 176.3 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.007046, allocations: 29.64 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.00708, allocations: 108 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.007102, allocations: 15.8 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.007133, allocations: 29.69 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.007211, allocations: 322.8 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.00723, allocations: 14.83 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.007258, allocations: 29.62 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.007302, allocations: 36.53 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007302, allocations: 0 / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.43e-05/0.007387, allocations: 80.36 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007398, allocations: 4 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007403, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007415, allocations: 4 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.007476, allocations: 15.98 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.007479, allocations: 4.031 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.007509, allocations: 8.375 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.007514, allocations: 4 kB / 328.7 MB, free: 4.008 MB / 298.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 6.585e-05/0.00758, allocations: 123.3 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.007594, allocations: 11.94 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.007702, allocations: 79.12 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007704, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007705, allocations: 3.938 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007708, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.007916, allocations: 295.5 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007918, allocations: 3.938 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.007945, allocations: 11.98 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.007948, allocations: 4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.007954, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007956, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007958, allocations: 4 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.008058, allocations: 219 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.008072, allocations: 11.91 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.008086, allocations: 0 / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.00813, allocations: 4 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.008157, allocations: 16.02 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.008168, allocations: 0 / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.008218, allocations: 64.62 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008218, allocations: 0 / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000149/0.008367, allocations: 19.94 kB / 329.6 MB, free: 3.086 MB / 298.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.001224/0.009591, allocations: 0.5818 MB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.009683, allocations: 40.78 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.009687, allocations: 0 / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.009717, allocations: 24.8 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.009898, allocations: 38.66 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.0102, allocations: 231.7 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.01024, allocations: 71.33 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01028, allocations: 21.27 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.01034, allocations: 63.38 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01034, allocations: 0 / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of Templates: time 0.005269/0.01561, allocations: 2.018 MB / 332.7 MB, free: 288 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.0267037921585143]