Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.00137/0.00137, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001084/0.001084, allocations: 170.2 kB / 24.91 MB, free: 9.188 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3067/0.3067, allocations: 34.26 MB / 296.1 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.24e-05, allocations: 5.719 kB / 325.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002481/0.002503, allocations: 1.822 MB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003777, allocations: 1.01 MB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.003863, allocations: 4 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.004162, allocations: 91.56 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.004458, allocations: 119.4 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.004668, allocations: 83.59 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.004843, allocations: 123.6 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.004931, allocations: 15.97 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.005035, allocations: 71.75 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.00513, allocations: 59.86 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.005144, allocations: 4 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.005253, allocations: 63.91 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.00532, allocations: 23.92 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.005356, allocations: 20.38 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005538, allocations: 127.5 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00554, allocations: 3.938 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005541, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.005545, allocations: 0 / 329 MB, free: 3.895 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003864/0.005931, allocations: 341.4 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.005966, allocations: 8.031 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.005998, allocations: 8.938 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006167, allocations: 154.3 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.006185, allocations: 12.38 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.006203, allocations: 384 / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.006312, allocations: 69.7 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.006321, allocations: 3.938 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.006328, allocations: 0 / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006334, allocations: 4 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.006359, allocations: 11.98 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.006582, allocations: 173.9 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.006717, allocations: 89.36 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.006739, allocations: 24.78 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.006749, allocations: 0 / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.04e-05/0.006839, allocations: 66.28 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.006841, allocations: 3.984 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004096/0.007251, allocations: 178 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.007279, allocations: 51.41 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007397, allocations: 197.6 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.007412, allocations: 25.7 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.007445, allocations: 100.1 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.007477, allocations: 43.67 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.007512, allocations: 25.7 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.007595, allocations: 330.7 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.007616, allocations: 18.83 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.007646, allocations: 33.69 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.007697, allocations: 49.55 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007698, allocations: 0 / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.021e-05/0.007788, allocations: 85.36 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007799, allocations: 4 kB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007803, allocations: 4.031 kB / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007817, allocations: 0 / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.007876, allocations: 23.98 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.00788, allocations: 8 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.007907, allocations: 4 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.007915, allocations: 7.984 kB / 331.1 MB, free: 1.598 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 (13): * Single equations (assignments): 13 * 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.984e-05/0.007985, allocations: 120.6 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.007999, allocations: 11.98 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.008119, allocations: 85.2 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008122, allocations: 4 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.008123, allocations: 4 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008127, allocations: 3.938 kB / 331.4 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.008374, allocations: 332.2 kB / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008375, allocations: 0 / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.008409, allocations: 19.94 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008411, allocations: 0 / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.008419, allocations: 11.92 kB / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008421, allocations: 0 / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008422, allocations: 0 / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008535, allocations: 232 kB / 331.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.008548, allocations: 15.91 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.008563, allocations: 4 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.008605, allocations: 4 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.008633, allocations: 11.92 kB / 332 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.008648, allocations: 11.94 kB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.008695, allocations: 64.2 kB / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008695, allocations: 0 / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.008853, allocations: 31.94 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001354/0.01021, allocations: 0.6496 MB / 332.7 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.01031, allocations: 56.64 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01032, allocations: 4 kB / 332.8 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.01035, allocations: 32.78 kB / 332.8 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01054, allocations: 30.05 kB / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.01087, allocations: 267.8 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01091, allocations: 75.33 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.01095, allocations: 16.64 kB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.01102, allocations: 71.36 kB / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01102, allocations: 0 / 333.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003794/0.01481, allocations: 2.308 MB / 335.6 MB, free: 13.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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: 2.9039160991087556]