Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001216/0.001216, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002015/0.00323, 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.001181/0.001181, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002763, 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.8707/0.8707, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1308/1.001, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1369/0.1369, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01937/0.1562, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.601e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003125/0.003151, allocations: 1.766 MB / 269.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.004339, allocations: 0.8192 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.004414, allocations: 3.938 kB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.004628, allocations: 39.7 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.004789, allocations: 55.64 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.005024, allocations: 91.64 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.005191, allocations: 91.64 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.005266, allocations: 8.234 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.005404, allocations: 79.81 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.005481, allocations: 19.92 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.005499, allocations: 7.938 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.005594, allocations: 43.92 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.005636, allocations: 15.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.00567, allocations: 12 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.005849, allocations: 95.55 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.00586, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.005861, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.00587, 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.0004548/0.006324, allocations: 316 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.006356, allocations: 8.031 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.006393, allocations: 8.922 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.006554, allocations: 142.2 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.006569, allocations: 384 / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.006591, allocations: 8.375 kB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006708, allocations: 65.08 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006717, allocations: 0 / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.006724, allocations: 0 / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006729, allocations: 4 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.006756, allocations: 11.98 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.006989, allocations: 174 kB / 271.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.007096, allocations: 85.28 kB / 271.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.00712, allocations: 12.8 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.007131, allocations: 3.938 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.007235, allocations: 70.16 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.007237, allocations: 0 / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003267/0.007563, allocations: 117.5 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.007596, allocations: 55.41 kB / 271.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007706, allocations: 164.2 kB / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.007722, allocations: 25.7 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.007755, allocations: 84.14 kB / 271.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.007786, allocations: 31.78 kB / 272 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.007826, allocations: 25.7 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.00792, allocations: 326.8 kB / 272.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.007941, allocations: 6.828 kB / 272.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.00797, allocations: 25.7 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.008023, allocations: 40.45 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008024, allocations: 4 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001008/0.008125, allocations: 72.44 kB / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.008139, allocations: 4 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008144, allocations: 4 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.008156, allocations: 3.984 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.008234, allocations: 16 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.008237, allocations: 0 / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.008272, allocations: 3.938 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.00828, allocations: 7.984 kB / 272.5 MB, free: 13.23 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 7.713e-05/0.008357, allocations: 128.6 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.008373, allocations: 4 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.0085, allocations: 78.56 kB / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008502, allocations: 0 / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008504, allocations: 0 / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.008508, allocations: 4 kB / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.00877, allocations: 287.4 kB / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.008773, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.008816, allocations: 15.92 kB / 273 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.008829, allocations: 7.953 kB / 273 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.008832, allocations: 8.031 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.008841, allocations: 4 kB / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008843, allocations: 0 / 273 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.008847, allocations: 8.297 kB / 273 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.008977, allocations: 211 kB / 273.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.008999, allocations: 8 kB / 273.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.009066, allocations: 7.984 kB / 273.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.009092, allocations: 7.984 kB / 273.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.009107, allocations: 7.938 kB / 273.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.009154, allocations: 39.66 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009154, allocations: 4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.009388, allocations: 23.98 kB / 273.3 MB, free: 12.32 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.001818/0.01121, allocations: 0.6283 MB / 274 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.01132, allocations: 44.77 kB / 274 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.01133, allocations: 4 kB / 274 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.01138, allocations: 28.78 kB / 274 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01169, 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.0005062/0.0122, allocations: 210.2 kB / 274.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.01224, allocations: 63.34 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.0123, allocations: 17.14 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.01238, allocations: 71.36 kB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01238, allocations: 0 / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of Templates: time 0.004454/0.01684, allocations: 2.026 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.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.6724186008796096]