Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001827/0.001827, allocations: 71.75 kB / 21.24 MB, free: 404 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.002424/0.002424, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.505/1.505, allocations: 177.2 MB / 204.9 MB, free: 8.918 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.2323/0.2323, allocations: 32.82 MB / 294.1 MB, free: 40 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002171/0.002171, allocations: 71.88 kB / 440.6 MB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3531, allocations: 65.44 MB / 0.4942 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002641/0.3558, allocations: 1.731 MB / 0.4959 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3571, allocations: 0.976 MB / 0.4969 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.3572, allocations: 2.906 kB / 0.4969 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3575, allocations: 88.66 kB / 0.497 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.3578, allocations: 120.1 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.358, allocations: 85.28 kB / 0.4971 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3581, allocations: 119.5 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.3582, allocations: 14.39 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.3583, allocations: 62.27 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3584, allocations: 70.8 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3584, allocations: 6 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3585, allocations: 65.86 kB / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.3586, allocations: 24.58 kB / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.3586, allocations: 32.83 kB / 0.4975 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3588, allocations: 142.5 kB / 0.4977 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3588, allocations: 0 / 0.4977 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3588, allocations: 3.938 kB / 0.4977 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3589, allocations: 3.125 kB / 0.4977 GB, free: 29.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004755/0.3593, allocations: 379.8 kB / 0.498 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.3594, allocations: 9.594 kB / 0.498 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.3594, allocations: 15.06 kB / 0.4981 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3596, allocations: 161.4 kB / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3596, allocations: 384 / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3596, allocations: 10.92 kB / 0.4982 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3598, allocations: 60.25 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3598, allocations: 0 / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3598, allocations: 7.938 kB / 0.4983 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3598, allocations: 3.516 kB / 0.4983 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.3599, allocations: 27.58 kB / 0.4983 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.3602, allocations: 246.8 kB / 0.4986 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3604, allocations: 58.19 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.3605, allocations: 30.14 kB / 0.4986 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3605, allocations: 0 / 0.4986 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.3606, allocations: 65.77 kB / 0.4987 GB, free: 28.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.3606, allocations: 0 / 0.4987 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007061/0.3613, allocations: 258.1 kB / 0.4989 GB, free: 28.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3613, allocations: 51.41 kB / 0.499 GB, free: 28.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3615, allocations: 247.8 kB / 0.4992 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3615, allocations: 25.7 kB / 0.4993 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.3616, allocations: 120.5 kB / 0.4994 GB, free: 27.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3616, allocations: 30.42 kB / 0.4994 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3616, allocations: 27.38 kB / 0.4994 GB, free: 27.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.3617, allocations: 331.5 kB / 0.4997 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.3617, allocations: 27.31 kB / 0.4998 GB, free: 27.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.3618, allocations: 51.73 kB / 0.4998 GB, free: 27.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3619, allocations: 80.25 kB / 0.4999 GB, free: 27.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3619, allocations: 0 / 0.4999 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001863/0.3621, allocations: 133.8 kB / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3621, allocations: 6.312 kB / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3622, allocations: 0 / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3622, allocations: 3.25 kB / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.3622, allocations: 19.38 kB / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3622, allocations: 240 / 0.5 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3623, allocations: 15.14 kB / 0.5001 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3623, allocations: 7.156 kB / 0.5001 GB, free: 27.36 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 (13): * Single equations (assignments): 13 * 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 7.441e-05/0.3624, allocations: 134.6 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3624, allocations: 18.05 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3627, allocations: 155.5 kB / 0.5004 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3627, allocations: 7.281 kB / 0.5004 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3627, allocations: 0 / 0.5004 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3627, allocations: 3.938 kB / 0.5004 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.3631, allocations: 402.4 kB / 0.5008 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3631, allocations: 4.062 kB / 0.5008 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.3631, allocations: 20.06 kB / 0.5008 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3631, allocations: 3.938 kB / 0.5008 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3631, allocations: 7.094 kB / 0.5008 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3631, allocations: 6.312 kB / 0.5008 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3631, allocations: 0 / 0.5008 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.3634, allocations: 239.1 kB / 0.501 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3634, allocations: 13.81 kB / 0.501 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3634, allocations: 7.062 kB / 0.501 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.3635, allocations: 10.5 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.3635, allocations: 14.17 kB / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3635, allocations: 6 kB / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3636, allocations: 178.9 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3639, allocations: 30.12 kB / 0.5013 GB, free: 26.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001988/0.3659, allocations: 0.5524 MB / 0.5018 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3661, allocations: 75.48 kB / 0.5019 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3661, allocations: 4.062 kB / 0.5019 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.3662, allocations: 41.05 kB / 0.5019 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3665, allocations: 42.22 kB / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.367, allocations: 294.6 kB / 0.5022 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.324e-05/0.3671, allocations: 100.1 kB / 0.5023 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.3671, allocations: 24.41 kB / 0.5024 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3671, allocations: 22.22 kB / 0.5024 GB, free: 25.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3671, allocations: 0 / 0.5024 GB, free: 25.9 MB / 446.1 MB Notification: Performance of Templates: time 0.004815/0.372, allocations: 2.082 MB / 0.5044 GB, free: 25.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.017262557987124]