Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009571/0.0009571, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009532/0.0009532, allocations: 168.2 kB / 24.99 MB, free: 8.801 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 0.9531/0.9531, allocations: 177 MB / 205.2 MB, free: 5.574 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.262/0.262, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.46e-05, allocations: 4.562 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002074/0.002098, allocations: 1.711 MB / 380.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003153, allocations: 1.001 MB / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.003216, allocations: 0 / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.003462, allocations: 51.69 kB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.003703, allocations: 103.5 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003836, allocations: 83.61 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003969, allocations: 103.6 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.00401, allocations: 8.219 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.004085, allocations: 47.84 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.004149, allocations: 27.91 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.004163, allocations: 7.938 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.004225, allocations: 27.98 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.004275, allocations: 27.92 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.004313, allocations: 23.86 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004461, allocations: 95.66 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.004465, allocations: 7.984 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004465, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.004469, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004004/0.00487, allocations: 471.6 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.004901, allocations: 8.031 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.004945, allocations: 20.78 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005102, allocations: 165.2 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.005116, allocations: 384 / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.005126, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.00523, allocations: 58.94 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.005235, allocations: 192 / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005244, allocations: 8.375 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.00525, allocations: 3.938 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.00528, allocations: 15.92 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.005416, allocations: 152.7 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.867e-05/0.005505, allocations: 47.11 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.005532, allocations: 15.67 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005542, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.146e-05/0.005624, allocations: 65.05 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.005625, allocations: 7.938 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000164/0.005789, allocations: 85.58 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005818, allocations: 63.34 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.005968, allocations: 269.6 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.00598, allocations: 29.7 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.006037, allocations: 162.9 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.006062, allocations: 11.91 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.006093, allocations: 31.36 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.006205, allocations: 0.4962 MB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.006225, allocations: 8 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.006253, allocations: 35.36 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.006295, allocations: 39.31 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006297, allocations: 0 / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.229e-05/0.006379, allocations: 81.52 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006391, allocations: 4 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006395, allocations: 4 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.036e-06/0.006404, allocations: 0 / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.00646, allocations: 15.92 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006465, allocations: 0 / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.006493, allocations: 8.031 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.006497, allocations: 0 / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.574e-05/0.006563, allocations: 164.5 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.006578, allocations: 15.91 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.006691, allocations: 95.06 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006692, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006697, allocations: 3.938 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.0067, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.00704, allocations: 168.5 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007041, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.00706, allocations: 8 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007062, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.007068, allocations: 4 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007069, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00707, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.18e-05/0.007161, allocations: 124.2 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.007175, allocations: 15.91 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007189, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.007209, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.007237, allocations: 7.922 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.007247, allocations: 4 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.007331, allocations: 200.5 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007331, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.007472, allocations: 19.98 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.000735/0.008207, allocations: 388.1 kB / 385.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.008297, allocations: 43.61 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008299, allocations: 0 / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.008329, allocations: 23.69 kB / 385.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.0085, allocations: 24.22 kB / 385.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.00882, allocations: 234.5 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.008856, allocations: 71.33 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.008893, allocations: 24.53 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.008918, allocations: 20.44 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008918, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00306/0.01198, allocations: 1.662 MB / 387.8 MB, free: 9.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.018848432926461]