Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.00104/0.00104, allocations: 77.97 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.001294/0.001294, allocations: 170.4 kB / 24.82 MB, free: 9.273 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.108/1.108, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3396/0.3396, allocations: 34.27 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.463e-05, allocations: 2.312 kB / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003523/0.003548, allocations: 1.749 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.00622, allocations: 1.726 MB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.006353, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.006737, allocations: 39.77 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.007192, allocations: 103.5 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.007488, allocations: 87.53 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.007708, allocations: 111.6 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.007822, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.007946, allocations: 59.81 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.008074, allocations: 39.89 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.008096, allocations: 4 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.008296, allocations: 103.8 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.00835, allocations: 15.92 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.00839, allocations: 19.94 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.008659, allocations: 167.4 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.339e-05/0.008683, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008684, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.008689, allocations: 0 / 382.8 MB, free: 14.04 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.000535/0.009224, allocations: 459.7 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.009273, allocations: 8.031 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.009322, allocations: 8.891 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.00954, allocations: 148 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.009562, allocations: 4.375 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.009583, allocations: 4.375 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.009784, allocations: 123.3 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.009798, allocations: 3.953 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.009807, allocations: 0 / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.009814, allocations: 4 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.009846, allocations: 11.92 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.01016, allocations: 256.4 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.01025, allocations: 59.09 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.01028, allocations: 19.67 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.0103, allocations: 4 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.0104, allocations: 64.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01041, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000386/0.01079, allocations: 133.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.01083, allocations: 81.11 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01097, allocations: 212 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01098, allocations: 25.7 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.01104, allocations: 146.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.01107, allocations: 31.77 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.01111, allocations: 27.38 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.01128, allocations: 0.5039 MB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.0113, allocations: 11.98 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.01134, allocations: 56.77 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.01141, allocations: 59.34 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01141, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.01152, allocations: 81.53 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.01154, allocations: 13.97 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01155, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01157, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.01164, allocations: 20.05 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01165, allocations: 4 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.01168, allocations: 4 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01169, allocations: 4 kB / 385.4 MB, free: 11.25 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 9.72e-05/0.01179, allocations: 164.5 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.01181, allocations: 11.94 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.01198, allocations: 94.39 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01198, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01198, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01199, allocations: 3.984 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.01234, allocations: 365.5 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01234, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.01237, allocations: 16.3 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01237, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01238, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01239, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01239, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.0126, allocations: 251.4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.01262, allocations: 7.953 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01265, allocations: 7.984 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.01272, allocations: 8.031 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.01276, allocations: 7.984 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01277, allocations: 0 / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.01288, allocations: 162 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01288, allocations: 0 / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.0131, allocations: 51.8 kB / 386.5 MB, free: 10.03 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.001209/0.01431, allocations: 0.5396 MB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01444, allocations: 43.61 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01444, allocations: 0 / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.01448, allocations: 39.67 kB / 387.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01471, allocations: 34.48 kB / 387.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.01504, allocations: 201.9 kB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.01509, allocations: 63.34 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.01514, allocations: 21.25 kB / 387.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.01524, allocations: 102.2 kB / 387.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01524, allocations: 4.062 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of Templates: time 0.004779/0.02002, allocations: 2.783 MB / 390.3 MB, free: 6.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.4518309170380235]