Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0009616/0.0009616, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001159/0.001159, allocations: 170.5 kB / 24.91 MB, free: 9.195 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 0.964/0.964, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2415/0.2415, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.989e-05, allocations: 7.453 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002318/0.002338, allocations: 1.955 MB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003603, allocations: 1.038 MB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.0037, allocations: 7.938 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.003993, allocations: 55.56 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004278, allocations: 99.42 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.004488, allocations: 99.62 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.004671, allocations: 148 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.004766, allocations: 26.45 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.004869, allocations: 71.81 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.004955, allocations: 43.81 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.004971, allocations: 11.94 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.005046, allocations: 39.94 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.005098, allocations: 39.84 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.005139, allocations: 23.92 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005319, allocations: 131.5 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005322, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005322, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.005325, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004099/0.005735, allocations: 387 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.005765, allocations: 12.03 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.005801, allocations: 12.92 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.005974, allocations: 166.3 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.00599, allocations: 4.375 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.006013, allocations: 12.33 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.006166, allocations: 136.3 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006174, allocations: 3.938 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.006183, allocations: 8 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.00619, allocations: 3.984 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.006225, allocations: 22.75 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.006542, allocations: 386.1 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.006697, allocations: 97.22 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.006721, allocations: 24.84 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.006732, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.946e-05/0.006831, allocations: 91.91 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.006832, allocations: 0 / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001272/0.00696, allocations: 81.59 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.006985, allocations: 51.41 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.007094, allocations: 189.6 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.007109, allocations: 29.7 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.007156, allocations: 107.9 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.007174, allocations: 27.83 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.007205, allocations: 29.7 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.007284, allocations: 330.7 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.007304, allocations: 18.77 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.007336, allocations: 44.27 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.007397, allocations: 73.84 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0074, allocations: 0 / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.375e-05/0.007493, allocations: 92.73 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.007504, allocations: 7.938 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007508, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007521, allocations: 4 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.00758, allocations: 19.94 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.007587, allocations: 7.984 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.007619, allocations: 16.02 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.007627, allocations: 8 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.707e-05/0.007694, allocations: 120.6 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.007708, allocations: 11.98 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.007811, allocations: 83.09 kB / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007813, allocations: 0 / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007815, allocations: 0 / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007818, allocations: 0 / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.0079, allocations: 101.8 kB / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.007903, allocations: 7.938 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.007948, allocations: 12 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007949, allocations: 3.938 kB / 331.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.007958, allocations: 11.98 kB / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007959, allocations: 0 / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00796, allocations: 0 / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008075, allocations: 114.7 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.008091, allocations: 19.78 kB / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008105, allocations: 0 / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/0.008131, allocations: 7.984 kB / 332 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.008156, allocations: 11.98 kB / 332 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.008166, allocations: 4.031 kB / 332.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.00821, allocations: 52.23 kB / 332.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00821, allocations: 4 kB / 332.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.008346, allocations: 27.98 kB / 332.1 MB, free: 484 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00104/0.009386, allocations: 0.5051 MB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.598e-05/0.009482, allocations: 52.72 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.009486, allocations: 0 / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.009521, allocations: 33.08 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.009662, allocations: 45.86 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.00999, allocations: 257.8 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.01002, allocations: 67.84 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.01007, allocations: 17.47 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.01015, allocations: 75.36 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01015, allocations: 4 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of Templates: time 0.003937/0.01408, allocations: 2.197 MB / 335.4 MB, free: 13.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.9751798501238227]