Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001573/0.001573, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001182/0.001182, allocations: 165.6 kB / 24.84 MB, free: 9.254 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.133/1.133, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1438/0.1438, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.444e-05, allocations: 4.281 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002944/0.002969, allocations: 1.855 MB / 350.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.003919, allocations: 0.8815 MB / 351.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.003976, allocations: 0 / 351.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.004192, allocations: 159.5 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004366, allocations: 139.3 kB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.004561, allocations: 151.5 kB / 352.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.004714, allocations: 227.3 kB / 352.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.19e-05/0.004776, allocations: 13.8 kB / 352.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.004867, allocations: 123.7 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.004956, allocations: 119.7 kB / 352.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.00497, allocations: 8 kB / 352.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.005026, allocations: 43.94 kB / 352.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.005067, allocations: 59.77 kB / 352.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.005099, allocations: 35.86 kB / 352.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.005239, allocations: 155.3 kB / 352.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005242, allocations: 0 / 352.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005242, allocations: 0 / 352.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.005246, allocations: 3.938 kB / 352.9 MB, free: 5.121 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003339/0.00558, allocations: 0.5537 MB / 353.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.005611, allocations: 8.031 kB / 353.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.005648, allocations: 36.73 kB / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.005782, allocations: 195.6 kB / 353.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005794, allocations: 8.375 kB / 353.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.005811, allocations: 12.3 kB / 353.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.00591, allocations: 102.3 kB / 353.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.005919, allocations: 3.938 kB / 353.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.005927, allocations: 3.984 kB / 353.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005932, allocations: 0 / 353.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.005965, allocations: 19.98 kB / 353.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.006215, allocations: 443.2 kB / 354.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.006308, allocations: 114.2 kB / 354.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.006334, allocations: 31.36 kB / 354.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.006342, allocations: 3.938 kB / 354.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/0.006417, allocations: 108.3 kB / 354.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 6.41e-07/0.006418, allocations: 3.938 kB / 354.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003327/0.006751, allocations: 237.3 kB / 354.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.00677, allocations: 89.03 kB / 354.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.006899, allocations: 330.2 kB / 355.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006911, allocations: 37.7 kB / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.006966, allocations: 199 kB / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.006996, allocations: 47.62 kB / 355.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.00703, allocations: 43.34 kB / 355.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.007096, allocations: 0.5195 MB / 356 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.007125, allocations: 15.98 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.007176, allocations: 65.8 kB / 356.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.007259, allocations: 98.78 kB / 356.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00726, allocations: 4 kB / 356.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001527/0.007413, allocations: 137.4 kB / 356.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.007423, allocations: 8 kB / 356.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007426, allocations: 0 / 356.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.007434, allocations: 4 kB / 356.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.007524, allocations: 35.91 kB / 356.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007528, allocations: 0 / 356.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.007579, allocations: 8 kB / 356.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.007587, allocations: 4 kB / 356.4 MB, free: 1.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.59e-05/0.007653, allocations: 185.2 kB / 356.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.007685, allocations: 35.8 kB / 356.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.007875, allocations: 167.5 kB / 356.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007878, allocations: 0 / 356.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.007879, allocations: 4 kB / 356.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007883, allocations: 0 / 356.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.00824, allocations: 0.5901 MB / 357.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.008242, allocations: 11.94 kB / 357.4 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.008287, allocations: 20.05 kB / 357.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.008289, allocations: 8 kB / 357.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008299, allocations: 4 kB / 357.4 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.008301, allocations: 4 kB / 357.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008302, allocations: 0 / 357.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.008561, allocations: 458 kB / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.008584, allocations: 19.86 kB / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.008611, allocations: 8 kB / 357.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.008718, allocations: 7.984 kB / 357.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.008752, allocations: 19.92 kB / 357.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.008767, allocations: 11.98 kB / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.008893, allocations: 223 kB / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008893, allocations: 3.938 kB / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000298/0.009191, allocations: 47.92 kB / 358.2 MB, free: 15.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009796/0.01017, allocations: 439.6 kB / 358.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.01031, allocations: 83.56 kB / 358.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.51e-07/0.01031, allocations: 4 kB / 358.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/0.01037, allocations: 55.66 kB / 358.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.01078, allocations: 68.77 kB / 358.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01126, allocations: 400.6 kB / 359.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.833e-05/0.01133, allocations: 87.97 kB / 359.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.01141, allocations: 33.73 kB / 359.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01152, allocations: 114.2 kB / 359.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01152, allocations: 0 / 359.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005327/0.01685, allocations: 3.247 MB / 362.7 MB, free: 11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.363044710829854]