Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001544/0.001544, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001622/0.001622, allocations: 169.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] 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.2085/0.2085, allocations: 32.81 MB / 294.1 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 179] 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003764/0.003764, allocations: 63.91 kB / 440.6 MB, free: 9.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3837, allocations: 65.45 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002895/0.3866, allocations: 1.876 MB / 0.4961 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3882, allocations: 1.076 MB / 0.4971 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.3882, allocations: 7.156 kB / 0.4971 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.3887, allocations: 159.8 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.3892, allocations: 182.2 kB / 0.4974 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.3894, allocations: 123.9 kB / 0.4976 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3896, allocations: 250.1 kB / 0.4978 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3897, allocations: 22.53 kB / 0.4978 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3899, allocations: 106.6 kB / 0.4979 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.39, allocations: 142.4 kB / 0.4981 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.39, allocations: 9.469 kB / 0.4981 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3901, allocations: 64.89 kB / 0.4981 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.3902, allocations: 55.61 kB / 0.4982 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.3903, allocations: 69.05 kB / 0.4982 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.3906, allocations: 227.2 kB / 0.4985 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3906, allocations: 7.188 kB / 0.4985 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3906, allocations: 0 / 0.4985 GB, free: 28.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3906, allocations: 0 / 0.4985 GB, free: 28.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005984/0.3912, allocations: 485.3 kB / 0.4989 GB, free: 28.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3912, allocations: 9.281 kB / 0.4989 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.3913, allocations: 29.34 kB / 0.499 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3916, allocations: 213.4 kB / 0.4992 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3916, allocations: 3.219 kB / 0.4992 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3916, allocations: 14.44 kB / 0.4992 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3918, allocations: 120.6 kB / 0.4993 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3918, allocations: 0 / 0.4993 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3918, allocations: 3.469 kB / 0.4993 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3918, allocations: 2.938 kB / 0.4993 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.392, allocations: 50.11 kB / 0.4994 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3924, allocations: 403.3 kB / 0.4997 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.3927, allocations: 122 kB / 0.4999 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.3928, allocations: 51.61 kB / 0.4999 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3928, allocations: 4 kB / 0.4999 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.393, allocations: 121.5 kB / 0.5 GB, free: 27.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.393, allocations: 0 / 0.5 GB, free: 27.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001145/0.3941, allocations: 0.4999 MB / 0.5005 GB, free: 27.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3942, allocations: 80.33 kB / 0.5006 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3945, allocations: 388.5 kB / 0.501 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3945, allocations: 36.39 kB / 0.501 GB, free: 27.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.3946, allocations: 148 kB / 0.5011 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.3946, allocations: 79.75 kB / 0.5012 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3947, allocations: 40.92 kB / 0.5012 GB, free: 26.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.3947, allocations: 342.4 kB / 0.5016 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3949, allocations: 62.52 kB / 0.5016 GB, free: 26.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.395, allocations: 96.61 kB / 0.5017 GB, free: 26.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3952, allocations: 161 kB / 0.5019 GB, free: 26.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3952, allocations: 0 / 0.5019 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003568/0.3956, allocations: 240.7 kB / 0.5021 GB, free: 26.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3956, allocations: 3.281 kB / 0.5021 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3956, allocations: 11.12 kB / 0.5021 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3956, allocations: 0 / 0.5021 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3958, allocations: 46.03 kB / 0.5022 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3958, allocations: 7.219 kB / 0.5022 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3959, allocations: 14.56 kB / 0.5022 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3959, allocations: 6.5 kB / 0.5022 GB, free: 26.25 MB / 446.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001214/0.396, allocations: 154.8 kB / 0.5023 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.396, allocations: 28.56 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.3965, allocations: 278.9 kB / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3965, allocations: 3.219 kB / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3965, allocations: 0 / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3966, allocations: 1.531 kB / 0.5026 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.3974, allocations: 0.674 MB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3974, allocations: 3.25 kB / 0.5033 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.3975, allocations: 40 kB / 0.5033 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3975, allocations: 2.688 kB / 0.5033 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3975, allocations: 6.797 kB / 0.5033 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3975, allocations: 2.781 kB / 0.5034 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3975, allocations: 2.812 kB / 0.5034 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.3979, allocations: 448.8 kB / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.398, allocations: 28.25 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.398, allocations: 7.062 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3982, allocations: 9.844 kB / 0.5038 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3982, allocations: 24.38 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.3983, allocations: 9.062 kB / 0.5039 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.3985, allocations: 289.5 kB / 0.5041 GB, free: 25.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0 / 0.5041 GB, free: 25.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.3989, allocations: 53.83 kB / 0.5042 GB, free: 25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002112/0.401, allocations: 0.556 MB / 0.5047 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.4013, allocations: 151.5 kB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4013, allocations: 0 / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.4015, allocations: 78.91 kB / 0.5049 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.402, allocations: 71.86 kB / 0.505 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.4027, allocations: 0.5159 MB / 0.5055 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.4029, allocations: 156.9 kB / 0.5057 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.122e-05/0.403, allocations: 37.8 kB / 0.5057 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.403, allocations: 34.36 kB / 0.5057 GB, free: 24.22 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.403, allocations: 0 / 0.5057 GB, free: 24.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006836/0.4099, allocations: 3.299 MB / 0.509 GB, free: 23.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.180502985953353]