Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001055/0.001055, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.00227, allocations: 452 kB / 10.43 MB, free: 264 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.0007206/0.0007206, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001726, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.7952/0.7952, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1397/0.9349, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.169/0.169, allocations: 32.34 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01973/0.1887, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.433e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001792/0.001807, allocations: 1.774 MB / 269.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.002611, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.002665, allocations: 3.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.002857, allocations: 39.72 kB / 270.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.002977, allocations: 55.64 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.003135, allocations: 87.69 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.003257, allocations: 99.59 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.365e-05/0.003321, allocations: 8.234 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.003422, allocations: 75.81 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.003485, allocations: 23.92 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003499, allocations: 7.938 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.003563, allocations: 39.92 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.0036, allocations: 19.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.003625, allocations: 12 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003764, allocations: 91.55 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.003773, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003773, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.003781, allocations: 4 kB / 270.6 MB, free: 15.3 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.0003458/0.004127, allocations: 316 kB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.004152, allocations: 8.031 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.004181, allocations: 12.92 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004303, allocations: 138.2 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.004317, allocations: 4.375 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.004332, allocations: 384 / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.004423, allocations: 73.08 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.00443, allocations: 0 / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004436, allocations: 0 / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.004441, allocations: 7.984 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.004462, allocations: 11.98 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.004635, allocations: 165.9 kB / 271.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.004715, allocations: 85.28 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.004734, allocations: 20.86 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.004744, allocations: 0 / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/0.004827, allocations: 74.08 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.004828, allocations: 0 / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002551/0.005083, allocations: 117.5 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.005107, allocations: 55.41 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.005185, allocations: 156.2 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.005198, allocations: 33.7 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.005225, allocations: 88.12 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.005247, allocations: 23.8 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005273, allocations: 21.7 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.005337, allocations: 326.8 kB / 272.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.005353, allocations: 14.81 kB / 272.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.005372, allocations: 21.7 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.00541, allocations: 44.47 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005411, allocations: 0 / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.538e-05/0.005476, allocations: 76.42 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.005485, allocations: 4 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.005488, allocations: 0 / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005497, allocations: 3.984 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.005553, allocations: 16 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.005556, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.00559, allocations: 7.938 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005597, allocations: 7.984 kB / 272.5 MB, free: 13.22 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 5.171e-05/0.005649, allocations: 120.6 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.00566, allocations: 11.94 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.005745, allocations: 78.56 kB / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005746, allocations: 0 / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.005747, allocations: 0 / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.00575, allocations: 0 / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.005924, allocations: 287.4 kB / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005925, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.005949, allocations: 19.92 kB / 273 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.005958, allocations: 11.98 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005959, allocations: 0 / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005965, allocations: 4 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005966, allocations: 0 / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005967, allocations: 4.312 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.536e-05/0.006053, allocations: 219 kB / 273.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.006066, allocations: 3.984 kB / 273.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.006101, allocations: 8 kB / 273.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.006121, allocations: 7.984 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.006131, allocations: 7.938 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.006161, allocations: 39.66 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006161, allocations: 0 / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00013/0.006291, allocations: 23.98 kB / 273.3 MB, free: 12.33 MB / 282.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.001149/0.00744, allocations: 0.6361 MB / 274 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.007518, allocations: 40.78 kB / 274 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.007524, allocations: 4 kB / 274 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.007559, allocations: 36.77 kB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.007758, allocations: 176.3 kB / 274.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.008105, allocations: 198.2 kB / 274.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.008138, allocations: 67.53 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.008168, allocations: 20.95 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.008225, allocations: 71.34 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008225, allocations: 0 / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of Templates: time 0.003021/0.01125, allocations: 2.022 MB / 276.6 MB, free: 8.961 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6054196376353502]