Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001541/0.001541, allocations: 84.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.001182/0.001182, allocations: 165 kB / 24.91 MB, free: 9.184 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.055/1.055, allocations: 177 MB / 205.2 MB, free: 5.465 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.2751/0.2751, allocations: 34.86 MB / 296.6 MB, free: 0.4922 MB / 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.101e-05, allocations: 3.016 kB / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.006005/0.006026, allocations: 1.996 MB / 328 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.01057, allocations: 1.048 MB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.01067, allocations: 4 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.01096, allocations: 47.58 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.01124, allocations: 95.41 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.01145, allocations: 95.64 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.01166, allocations: 156.2 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.01176, allocations: 26.44 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.01187, allocations: 71.75 kB / 329.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.01197, allocations: 51.81 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.01198, allocations: 8 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.01208, allocations: 47.92 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.01213, allocations: 23.86 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.01217, allocations: 31.91 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.01238, allocations: 123.5 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.01238, allocations: 7.938 kB / 329.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01238, allocations: 3.984 kB / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.01239, allocations: 4 kB / 329.9 MB, free: 3.195 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.0004343/0.01282, allocations: 375.1 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.01285, allocations: 16.03 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.01289, allocations: 12.92 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.01309, allocations: 158.3 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.01311, allocations: 8.375 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.01314, allocations: 16.27 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.01632, allocations: 136.4 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.01633, allocations: 192 / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.01633, allocations: 4.375 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01634, allocations: 3.938 kB / 330.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.01639, allocations: 34.12 kB / 330.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.01675, allocations: 370.1 kB / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.01692, allocations: 105.2 kB / 331.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.01695, allocations: 20.78 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.01696, allocations: 4 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.01707, allocations: 95.89 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.01707, allocations: 0 / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001456/0.01722, allocations: 77.61 kB / 331.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.01724, allocations: 51.41 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01738, allocations: 185.6 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.01739, allocations: 29.7 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.01745, allocations: 123.9 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.01747, allocations: 23.84 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.01751, allocations: 25.7 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.0176, allocations: 330.7 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.01762, allocations: 10.83 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.01766, allocations: 44.27 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.01774, allocations: 77.84 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01774, allocations: 0 / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001177/0.01786, allocations: 96.28 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01787, allocations: 4 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01788, allocations: 4 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01789, allocations: 4.125 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.01797, allocations: 31.92 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01798, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.01802, allocations: 11.89 kB / 332.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01803, allocations: 4 kB / 332.3 MB, free: 0.5156 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 7.013e-05/0.0181, allocations: 116.7 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.01812, allocations: 19.86 kB / 332.4 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.01824, allocations: 76.91 kB / 332.5 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.01824, allocations: 4 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01824, allocations: 4 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01824, allocations: 4 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.01834, allocations: 101.8 kB / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01834, allocations: 0 / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.0184, allocations: 19.92 kB / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.0184, allocations: 3.938 kB / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.01841, allocations: 0 / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01841, allocations: 0 / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01841, allocations: 0 / 332.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01855, allocations: 114.7 kB / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.01858, allocations: 19.88 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.0186, allocations: 15.97 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.01863, allocations: 4 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.01866, allocations: 3.938 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01867, allocations: 4 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.01873, allocations: 56.52 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01873, allocations: 0 / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01891, allocations: 27.94 kB / 332.9 MB, free: 15.87 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.004313/0.02322, allocations: 499.4 kB / 333.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.02333, allocations: 52.72 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.02334, allocations: 4 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.02339, allocations: 36.95 kB / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.02356, allocations: 37.11 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.02395, allocations: 257.8 kB / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.02399, allocations: 71.83 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.02404, allocations: 17.73 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.02413, allocations: 75.36 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02414, allocations: 4 kB / 333.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of Templates: time 0.004263/0.0284, allocations: 2.195 MB / 336.1 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.0855586398392916]