Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.00155/0.00155, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001908/0.001908, allocations: 170.3 kB / 24.82 MB, free: 9.262 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.287/0.287, allocations: 34.25 MB / 296.1 MB, free: 0.6602 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.97e-05, allocations: 6.312 kB / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002988/0.003018, allocations: 1.753 MB / 380.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004428, allocations: 0.9975 MB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.004521, allocations: 0 / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.00486, allocations: 39.7 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.005181, allocations: 103.5 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.005385, allocations: 79.66 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.005722, allocations: 103.6 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005824, allocations: 15.98 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.005916, allocations: 55.83 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.005991, allocations: 27.86 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.006007, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.006098, allocations: 47.91 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.006144, allocations: 19.92 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.006183, allocations: 19.88 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.006367, allocations: 103.6 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.006372, allocations: 4 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006373, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.006378, allocations: 0 / 382 MB, free: 14.9 MB / 362.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.0004585/0.006836, allocations: 451.8 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.006879, allocations: 12.03 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.006915, allocations: 16.78 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.00707, allocations: 153.1 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.007088, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.007106, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.007222, allocations: 58.94 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.007232, allocations: 3.938 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.007239, allocations: 3.938 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007245, allocations: 0 / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.007273, allocations: 19.98 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.007542, allocations: 260.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.007636, allocations: 47.17 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.007659, allocations: 19.67 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.007676, allocations: 0 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.007779, allocations: 76.91 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.007781, allocations: 3.984 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003324/0.008113, allocations: 129.5 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.008144, allocations: 55.41 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.008277, allocations: 234.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.008291, allocations: 25.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.008352, allocations: 150.8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.008378, allocations: 23.8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.008416, allocations: 35.34 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.008544, allocations: 0.4923 MB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.008565, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.008595, allocations: 31.34 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.008646, allocations: 59.34 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008647, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001026/0.00875, allocations: 85.53 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.008764, allocations: 8 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008768, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.00878, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.008848, allocations: 20.3 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.008851, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.008883, allocations: 8 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.00889, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.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.976e-05/0.00897, allocations: 160.6 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.008987, allocations: 19.84 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.009128, allocations: 99.06 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009132, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009134, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009137, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.00944, allocations: 361.6 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.009443, allocations: 7.938 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.009475, allocations: 8 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.009478, allocations: 32 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.009484, allocations: 4 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.009487, allocations: 7.938 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.009489, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.00963, allocations: 255.4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.009644, allocations: 11.94 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.009662, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.009709, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.00974, allocations: 11.98 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.009755, allocations: 4 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.009827, allocations: 160.1 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.009827, allocations: 4 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.01001, allocations: 27.92 kB / 385.5 MB, free: 11.01 MB / 362.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.0009882/0.011, allocations: 446.3 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01111, allocations: 51.59 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01112, allocations: 0 / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.01115, allocations: 23.62 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.0114, allocations: 41.36 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.01177, allocations: 226.1 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.01182, allocations: 67.33 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.01186, allocations: 8.984 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.01193, allocations: 90.19 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01194, allocations: 0 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.004405/0.01634, allocations: 2.041 MB / 388.5 MB, free: 8.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.3249513590708375]