Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2714/0.2714, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.293e-05, allocations: 5.406 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002931/0.002954, allocations: 2.003 MB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004384, allocations: 1.052 MB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.004484, allocations: 0 / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.004797, allocations: 47.64 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.005038, allocations: 91.42 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.005195, allocations: 99.58 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.005375, allocations: 148.3 kB / 329.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005479, allocations: 34.42 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.005583, allocations: 75.7 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.005672, allocations: 43.88 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.005688, allocations: 4 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.005763, allocations: 47.92 kB / 329.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.005818, allocations: 31.84 kB / 329.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.005864, allocations: 31.86 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.006051, allocations: 131.4 kB / 329.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006055, allocations: 3.984 kB / 329.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006055, allocations: 0 / 329.9 MB, free: 3.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006059, allocations: 0 / 329.9 MB, free: 3.207 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.0004201/0.006479, allocations: 383.1 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.00651, allocations: 8.031 kB / 330.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.006546, allocations: 16.92 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.006722, allocations: 162.3 kB / 330.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.006738, allocations: 8.375 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.006764, allocations: 8.328 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.00692, allocations: 134 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006928, allocations: 192 / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006936, allocations: 4.375 kB / 330.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006944, allocations: 7.938 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.006983, allocations: 26.75 kB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.007313, allocations: 370.1 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.007487, allocations: 105.3 kB / 331.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.007516, allocations: 24.78 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.007529, allocations: 3.938 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.00765, allocations: 99.91 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.007652, allocations: 3.938 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001421/0.007794, allocations: 65.67 kB / 331.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.007821, allocations: 55.41 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.007946, allocations: 193.5 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.007966, allocations: 29.7 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.008018, allocations: 111.9 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.008037, allocations: 23.84 kB / 331.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.008072, allocations: 33.69 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.008158, allocations: 326.8 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.00818, allocations: 14.83 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.008216, allocations: 40.91 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.008289, allocations: 73.84 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008292, allocations: 0 / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001025/0.008394, allocations: 88.39 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.008408, allocations: 12.03 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.008415, allocations: 0 / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.00843, allocations: 4 kB / 332.3 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.008501, allocations: 27.92 kB / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.008508, allocations: 4 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.008542, allocations: 11.89 kB / 332.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.00855, allocations: 4 kB / 332.3 MB, free: 0.5312 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.887e-05/0.008619, allocations: 120.6 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.008635, allocations: 15.92 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.008744, allocations: 79.12 kB / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.008746, allocations: 0 / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.008748, allocations: 3.984 kB / 332.5 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008752, allocations: 0 / 332.5 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.067e-05/0.008842, allocations: 113.8 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008844, allocations: 0 / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.008896, allocations: 15.92 kB / 332.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.0089, allocations: 7.938 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.008908, allocations: 0 / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008909, allocations: 0 / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.00891, allocations: 0 / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.009031, allocations: 120.4 kB / 332.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.00906, allocations: 19.88 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009076, allocations: 7.938 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.009103, allocations: 4 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.009132, allocations: 7.938 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.009145, allocations: 8 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.00919, allocations: 56.5 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00919, allocations: 0 / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.009315, allocations: 24 kB / 332.9 MB, free: 15.88 MB / 314.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.001157/0.01047, allocations: 0.4952 MB / 333.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01057, allocations: 52.7 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.01058, allocations: 4 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.01062, allocations: 25.03 kB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.01077, allocations: 40.09 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.01112, allocations: 258 kB / 333.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.01116, allocations: 75.83 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.0112, allocations: 17.48 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.01127, allocations: 75.36 kB / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01127, allocations: 0 / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Templates: time 0.00429/0.01556, allocations: 2.196 MB / 336.1 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.0323715349659324]