Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009096/0.0009096, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001009/0.001009, allocations: 174.2 kB / 24.92 MB, free: 9.199 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2624/0.2624, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.258e-05, allocations: 6.25 kB / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002624/0.002646, allocations: 2.003 MB / 327.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.004006, allocations: 1.041 MB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.004101, allocations: 3.938 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.004373, allocations: 47.56 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.004626, allocations: 103.4 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.00483, allocations: 99.62 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.005035, allocations: 152 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005149, allocations: 18.47 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.005269, allocations: 75.8 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.005371, allocations: 39.84 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.005389, allocations: 4 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.0055, allocations: 55.84 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.005551, allocations: 27.86 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.005598, allocations: 35.91 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.005855, allocations: 127.5 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005859, allocations: 0 / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005861, allocations: 0 / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005866, allocations: 0 / 329.2 MB, free: 3.723 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.0004829/0.006348, allocations: 387 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.006389, allocations: 8.031 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.006426, allocations: 12.92 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.006602, allocations: 166.3 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.006618, allocations: 12.38 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.006634, allocations: 8.328 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.006787, allocations: 140.3 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.006795, allocations: 3.938 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.006802, allocations: 0 / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006808, allocations: 4 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.006846, allocations: 25.5 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.007163, allocations: 370.1 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.007335, allocations: 113.3 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.00736, allocations: 20.8 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.007374, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.007494, allocations: 99.89 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.007495, allocations: 0 / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001427/0.007638, allocations: 73.59 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.007665, allocations: 55.41 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.007787, allocations: 185.6 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.007805, allocations: 29.7 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.007863, allocations: 115.9 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007881, allocations: 23.83 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.007918, allocations: 25.72 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.008016, allocations: 334.7 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.008038, allocations: 14.77 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.008076, allocations: 52.2 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.008146, allocations: 73.84 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.008149, allocations: 0 / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001045/0.008254, allocations: 84.38 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.008269, allocations: 8 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008276, allocations: 3.984 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.008292, allocations: 4 kB / 331.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.008356, allocations: 19.94 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.00836, allocations: 4 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.008397, allocations: 23.88 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.008404, allocations: 8.125 kB / 331.6 MB, free: 1.027 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.799e-05/0.008472, allocations: 127.1 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.008486, allocations: 11.98 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.008586, allocations: 79.53 kB / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008588, allocations: 0 / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008589, allocations: 0 / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.008592, allocations: 0 / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.211e-05/0.008674, allocations: 101.8 kB / 331.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.008677, allocations: 7.938 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.008723, allocations: 8 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008725, allocations: 4 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008732, allocations: 4 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008733, allocations: 0 / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008735, allocations: 3.984 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.008859, allocations: 118.7 kB / 332.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.008873, allocations: 19.78 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.008888, allocations: 4 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.652e-05/0.008914, allocations: 7.984 kB / 332.1 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.008941, allocations: 11.92 kB / 332.1 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.008951, allocations: 0 / 332.1 MB, free: 484 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.008994, allocations: 60.27 kB / 332.2 MB, free: 420 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008994, allocations: 0 / 332.2 MB, free: 420 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.009121, allocations: 24 kB / 332.2 MB, free: 396 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.001137/0.01026, allocations: 0.5099 MB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.065e-05/0.01035, allocations: 44.78 kB / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.01035, allocations: 128 / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.01039, allocations: 33.03 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.01053, allocations: 54.02 kB / 332.9 MB, free: 12 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.01086, allocations: 245.9 kB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.01089, allocations: 71.83 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.01094, allocations: 21.48 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.01101, allocations: 75.36 kB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01101, allocations: 3.938 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003669/0.01468, allocations: 2.191 MB / 335.5 MB, free: 13.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.05794615810737]