Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0009852/0.0009852, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001271/0.001271, allocations: 170.5 kB / 25.61 MB, free: 8.906 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 0.9851/0.9851, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1552/0.1552, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.645e-05, allocations: 5.406 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00279/0.002816, allocations: 1.941 MB / 379.3 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004049, allocations: 1.032 MB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.004149, allocations: 0 / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.004438, allocations: 47.64 kB / 380.4 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.004703, allocations: 107.3 kB / 380.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.004896, allocations: 95.58 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.005066, allocations: 151.5 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.005164, allocations: 25.8 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.574e-05/0.00526, allocations: 79.73 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.005358, allocations: 43.83 kB / 380.9 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.005382, allocations: 8 kB / 380.9 MB, free: 22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.617e-05/0.005478, allocations: 43.92 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.005538, allocations: 27.86 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.00559, allocations: 31.91 kB / 381 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.005801, allocations: 127.5 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005804, allocations: 0 / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.005805, allocations: 0 / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005809, allocations: 4 kB / 381.1 MB, free: 21.77 MB / 314.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.0004639/0.006273, allocations: 0.5013 MB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.006309, allocations: 15.98 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.006357, allocations: 16.84 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.006531, allocations: 181 kB / 381.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.006549, allocations: 8.375 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.006569, allocations: 4.375 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.006724, allocations: 143.7 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.006733, allocations: 7.938 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.006743, allocations: 0 / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.00675, allocations: 4 kB / 382 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.006794, allocations: 19.92 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.007143, allocations: 0.5566 MB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.007322, allocations: 67.14 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.007352, allocations: 19.69 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.007364, allocations: 4 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.007468, allocations: 102.7 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.007469, allocations: 4 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001896/0.007659, allocations: 101.5 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.007678, allocations: 51.41 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007796, allocations: 244.9 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.007808, allocations: 29.7 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.007862, allocations: 166.7 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.007883, allocations: 31.77 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.007923, allocations: 31.38 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.007978, allocations: 0.5117 MB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.008, allocations: 8 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.00804, allocations: 58.41 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.008111, allocations: 86.28 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008113, allocations: 0 / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001274/0.00824, allocations: 113.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.008251, allocations: 11.97 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.008256, allocations: 4 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.008265, allocations: 0 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.008334, allocations: 19.98 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.008338, allocations: 7.938 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.008381, allocations: 11.94 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.008389, allocations: 4 kB / 384.2 MB, free: 18.37 MB / 314.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 5.25e-05/0.008441, allocations: 164.5 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.008461, allocations: 19.89 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.008582, allocations: 107.1 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008584, allocations: 0 / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.008585, allocations: 0 / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008589, allocations: 4 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.51e-05/0.008674, allocations: 133.1 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008675, allocations: 0 / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.008726, allocations: 12 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008727, allocations: 0 / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.008736, allocations: 4 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008737, allocations: 3.938 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008738, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.008884, allocations: 164.2 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.008899, allocations: 11.91 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.008917, allocations: 7.984 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.008951, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.008979, allocations: 7.984 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.008991, allocations: 4 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.009041, allocations: 163.1 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.017e-06/0.009045, allocations: 0 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.009256, allocations: 27.94 kB / 385 MB, free: 17.48 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.000881/0.01014, allocations: 395.3 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.01025, allocations: 55.53 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01025, allocations: 4.25 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.01029, allocations: 31.86 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01052, allocations: 48.59 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.01084, allocations: 257.7 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.01087, allocations: 71.83 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.01091, allocations: 13.48 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.01099, allocations: 106.2 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01099, allocations: 0 / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of Templates: time 0.004263/0.01525, allocations: 2.272 MB / 388.3 MB, free: 14.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.345481752883643]