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.0006999/0.0006999, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009793/0.001679, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000665/0.000665, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008503/0.001515, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9908/0.9908, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09871/1.089, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2855/0.2855, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03117/0.3167, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.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.603e-06/1.603e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.06e-05, allocations: 3.438 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002285/0.002305, allocations: 1.812 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003504, allocations: 1.014 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.00358, allocations: 4 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.003768, allocations: 39.7 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.004009, allocations: 99.47 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.004201, allocations: 71.62 kB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004355, allocations: 111.7 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.004435, allocations: 7.984 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.004554, allocations: 79.75 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.004633, allocations: 31.91 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.004649, allocations: 7.938 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.004737, allocations: 43.92 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.00478, allocations: 19.94 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.004813, allocations: 15.94 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.004978, allocations: 99.59 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.004995, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004996, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.005006, allocations: 0 / 296.2 MB, free: 2.754 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.0003962/0.005402, allocations: 341 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.005432, allocations: 12.03 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.005461, allocations: 8.922 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005608, allocations: 150.3 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005622, allocations: 384 / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.005638, allocations: 4.375 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005744, allocations: 61.77 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005752, allocations: 7.875 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.005759, allocations: 0 / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005764, allocations: 4 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.005789, allocations: 7.984 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.005992, allocations: 166 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.006086, allocations: 89.28 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.006107, allocations: 12.86 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006117, allocations: 0 / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.19e-05/0.006209, allocations: 70.09 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006211, allocations: 0 / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000297/0.006508, allocations: 117.5 kB / 297.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.006541, allocations: 51.41 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006645, allocations: 177.3 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.006662, allocations: 33.69 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.006693, allocations: 92.12 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.00672, allocations: 27.83 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.006752, allocations: 25.7 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.006829, allocations: 322.8 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.006844, allocations: 10.81 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.006869, allocations: 25.7 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.006931, allocations: 40.45 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006933, allocations: 4 kB / 298 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.876e-05/0.007011, allocations: 84.42 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007023, allocations: 8 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007028, allocations: 3.938 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.007034, allocations: 0 / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.0071, allocations: 16 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.007103, allocations: 0 / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.007133, allocations: 7.984 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007138, allocations: 0 / 298.1 MB, free: 0.6328 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 6.881e-05/0.007207, allocations: 121.9 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.007222, allocations: 15.92 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.00732, allocations: 79.11 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007322, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.007324, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007326, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.007533, allocations: 299.4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007535, allocations: 0 / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.007564, allocations: 12 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.007575, allocations: 7.953 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.007578, allocations: 3.984 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.007584, allocations: 8.328 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007585, allocations: 4 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007586, allocations: 4 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.007706, allocations: 223 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.00772, allocations: 0 / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.00776, allocations: 7.938 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.007786, allocations: 7.984 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.007802, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.007843, allocations: 47.64 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007843, allocations: 0 / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.007991, allocations: 23.98 kB / 299 MB, free: 15.71 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.001447/0.009438, allocations: 0.6291 MB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.009541, allocations: 52.64 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.00955, allocations: 4 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.009581, allocations: 32.92 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.009769, allocations: 40.03 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.0102, allocations: 227.7 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.01025, allocations: 67.34 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.01028, allocations: 12.97 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.01035, allocations: 71.48 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01035, allocations: 0 / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.003651/0.014, allocations: 2.052 MB / 302.1 MB, free: 12.86 MB / 298.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 -ignoreHideResult -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: 2.9292092230170965]