Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001666/0.001666, allocations: 81 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002214/0.002214, allocations: 159 kB / 24.5 MB, free: 3.719 MB / 14.72 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.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] 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.2451/0.2451, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 179] 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 75.88 kB / 443.2 MB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3666, allocations: 66.04 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002684/0.3693, allocations: 1.728 MB / 0.499 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3707, allocations: 0.9703 MB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.3708, allocations: 3.125 kB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.3711, allocations: 50.81 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3714, allocations: 93.58 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.3716, allocations: 83.19 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3717, allocations: 107.6 kB / 0.5003 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.3718, allocations: 3.812 kB / 0.5003 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.3719, allocations: 46.22 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.372, allocations: 32.78 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.372, allocations: 10.72 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.3721, allocations: 40.78 kB / 0.5004 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.3721, allocations: 24.73 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3722, allocations: 22.41 kB / 0.5005 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.3723, allocations: 136.4 kB / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3723, allocations: 0 / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3724, allocations: 0 / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3724, allocations: 0 / 0.5006 GB, free: 27.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000447/0.3728, allocations: 351.2 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3728, allocations: 9.875 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.3729, allocations: 11.42 kB / 0.5009 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.3731, allocations: 161.7 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3731, allocations: 384 / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3731, allocations: 7.719 kB / 0.5011 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3733, allocations: 65.08 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3733, allocations: 0 / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3733, allocations: 0 / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3733, allocations: 0 / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.3734, allocations: 20.5 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.3736, allocations: 235.9 kB / 0.5014 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3738, allocations: 68.28 kB / 0.5015 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.3739, allocations: 18.31 kB / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3739, allocations: 7.25 kB / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.374, allocations: 63.52 kB / 0.5016 GB, free: 26.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.374, allocations: 0 / 0.5016 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004964/0.3745, allocations: 182.1 kB / 0.5017 GB, free: 26.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3745, allocations: 54.72 kB / 0.5018 GB, free: 26.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3747, allocations: 224.7 kB / 0.502 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.3747, allocations: 25.7 kB / 0.502 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.3747, allocations: 113.7 kB / 0.5021 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3747, allocations: 30.31 kB / 0.5022 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3748, allocations: 23.06 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.3748, allocations: 332.6 kB / 0.5025 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.3749, allocations: 20.84 kB / 0.5025 GB, free: 25.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.3749, allocations: 40.66 kB / 0.5026 GB, free: 25.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.375, allocations: 57.09 kB / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.375, allocations: 0 / 0.5026 GB, free: 25.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001619/0.3752, allocations: 115.3 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3752, allocations: 6.469 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3752, allocations: 0 / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3752, allocations: 0 / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.3753, allocations: 16.41 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3753, allocations: 3.25 kB / 0.5028 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3754, allocations: 0 / 0.5028 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3754, allocations: 7.188 kB / 0.5028 GB, free: 25.85 MB / 446.1 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 (10): * Single equations (assignments): 10 * 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.786e-05/0.3754, allocations: 130.7 kB / 0.5029 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.3755, allocations: 14.06 kB / 0.5029 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3757, allocations: 134.8 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3757, allocations: 3.219 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3757, allocations: 0 / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3757, allocations: 0 / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.376, allocations: 353.5 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.376, allocations: 0 / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.3761, allocations: 8 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3761, allocations: 2.688 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3761, allocations: 3.469 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3761, allocations: 6.719 kB / 0.5034 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3761, allocations: 0 / 0.5034 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3763, allocations: 230.7 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.3763, allocations: 6.484 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3763, allocations: 2.5 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3764, allocations: 2.375 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3764, allocations: 14.14 kB / 0.5036 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3765, allocations: 5.875 kB / 0.5036 GB, free: 25.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3766, allocations: 154.8 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3766, allocations: 0 / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3768, allocations: 27.83 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.00176/0.3786, allocations: 489 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3788, allocations: 52.94 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3788, allocations: 4.062 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.3789, allocations: 31.5 kB / 0.5044 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3792, allocations: 32.72 kB / 0.5044 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.3796, allocations: 251.1 kB / 0.5046 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.3797, allocations: 104.4 kB / 0.5047 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.3797, allocations: 22.31 kB / 0.5048 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.3797, allocations: 14.62 kB / 0.5048 GB, free: 24.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3797, allocations: 3.938 kB / 0.5048 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004543/0.3843, allocations: 1.84 MB / 0.5066 GB, free: 24.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093482017982751]