Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001423/0.001423, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001818/0.001818, allocations: 162.1 kB / 24.92 MB, free: 8.75 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.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.422 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.2752/0.2752, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.771e-05, allocations: 2.312 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002392/0.002409, allocations: 1.89 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.004458, allocations: 1.807 MB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.004541, allocations: 7.938 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.004796, allocations: 51.62 kB / 329.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.005114, allocations: 140.3 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.005335, allocations: 107.6 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.00555, allocations: 208 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.005603, allocations: 30.42 kB / 330.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.005736, allocations: 103.7 kB / 330.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005875, allocations: 67.78 kB / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.005899, allocations: 8 kB / 330.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.006084, allocations: 111.9 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.006136, allocations: 35.8 kB / 330.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.006183, allocations: 43.84 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.00643, allocations: 207.2 kB / 330.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.006432, allocations: 0 / 330.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006433, allocations: 0 / 330.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006438, allocations: 0 / 330.8 MB, free: 2.219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004559/0.006893, allocations: 400.9 kB / 331.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.006926, allocations: 12.03 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.006965, allocations: 12.92 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.007176, allocations: 177.4 kB / 331.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.007193, allocations: 4.375 kB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.007204, allocations: 4.375 kB / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.007365, allocations: 156.5 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.007373, allocations: 192 / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.007383, allocations: 4.375 kB / 331.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.00739, allocations: 3.938 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.007421, allocations: 21.64 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.00753, allocations: 86.36 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.007643, allocations: 74.81 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.007674, allocations: 25.7 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.007684, allocations: 0 / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.007796, allocations: 107.2 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.32e-07/0.007797, allocations: 4 kB / 331.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001525/0.007949, allocations: 91.25 kB / 332 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.007999, allocations: 140.5 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.008147, allocations: 221.5 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.008163, allocations: 29.7 kB / 332.4 MB, free: 476 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.008199, allocations: 100.6 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.008236, allocations: 31.77 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.00827, allocations: 25.72 kB / 332.5 MB, free: 308 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.008368, allocations: 334.8 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.008386, allocations: 10.83 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.008442, allocations: 109.7 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.008506, allocations: 71.81 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008509, allocations: 0 / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001062/0.008615, allocations: 95.19 kB / 333.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.008627, allocations: 4 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008633, allocations: 4 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.008648, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.008719, allocations: 24.08 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008723, allocations: 7.938 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.008773, allocations: 19.88 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.00878, allocations: 4 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.138e-05/0.008862, allocations: 124.6 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.00888, allocations: 15.98 kB / 333.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.009, allocations: 94.73 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.009004, allocations: 4 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009006, allocations: 256 / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.009011, allocations: 3.938 kB / 333.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.662e-05/0.009108, allocations: 113.8 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009109, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.009136, allocations: 15.98 kB / 333.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009138, allocations: 4 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.009145, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.009145, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009147, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/0.009243, allocations: 122.3 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.009266, allocations: 27.83 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.009284, allocations: 0 / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.009318, allocations: 15.98 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.00935, allocations: 7.984 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.009362, allocations: 4 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.009424, allocations: 74.25 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009424, allocations: 3.938 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.009603, allocations: 59.86 kB / 333.9 MB, free: 14.83 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001267/0.01087, allocations: 0.6197 MB / 334.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01099, allocations: 60.75 kB / 334.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.011, allocations: 4.125 kB / 334.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.01104, allocations: 28.8 kB / 334.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01122, allocations: 62.36 kB / 334.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.0116, allocations: 272.3 kB / 334.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01164, allocations: 75.98 kB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.0117, allocations: 29.95 kB / 335 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.01182, allocations: 103.3 kB / 335.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01183, allocations: 0 / 335.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005472/0.0173, allocations: 3.729 MB / 338.8 MB, free: 10.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.9681081660091877]