Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001323/0.001323, 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.001409/0.001409, allocations: 169.1 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.435/1.435, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.2124/0.2124, allocations: 32.81 MB / 294.1 MB, free: 40 kB / 270.1 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [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.00226/0.00226, allocations: 75.89 kB / 440.6 MB, free: 9.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3414, allocations: 65.44 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003006/0.3444, allocations: 1.736 MB / 0.4959 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3459, allocations: 0.9707 MB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.346, allocations: 2.844 kB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.3463, allocations: 111.8 kB / 0.497 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.3467, allocations: 129.9 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3469, allocations: 74.81 kB / 0.4972 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.347, allocations: 131.6 kB / 0.4973 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3471, allocations: 7.141 kB / 0.4973 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.3472, allocations: 67.98 kB / 0.4974 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3473, allocations: 65.28 kB / 0.4974 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3474, allocations: 10.38 kB / 0.4974 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3475, allocations: 61.03 kB / 0.4975 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.3475, allocations: 28.92 kB / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.3476, allocations: 32.89 kB / 0.4976 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3478, allocations: 144.6 kB / 0.4977 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3478, allocations: 11.34 kB / 0.4977 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3478, allocations: 0 / 0.4977 GB, free: 29.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3478, allocations: 0 / 0.4977 GB, free: 29.29 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.0004745/0.3483, allocations: 382.9 kB / 0.4981 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3483, allocations: 10.16 kB / 0.4981 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3484, allocations: 19.28 kB / 0.4981 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3486, allocations: 164.5 kB / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3486, allocations: 3.812 kB / 0.4983 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3486, allocations: 8.078 kB / 0.4983 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3488, allocations: 60.56 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3488, allocations: 3.938 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3488, allocations: 4 kB / 0.4983 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3488, allocations: 7.031 kB / 0.4983 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.3489, allocations: 23.58 kB / 0.4984 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.3492, allocations: 250.3 kB / 0.4986 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3494, allocations: 74.77 kB / 0.4987 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3495, allocations: 18.7 kB / 0.4987 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3495, allocations: 0 / 0.4987 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3496, allocations: 69.69 kB / 0.4987 GB, free: 28.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3496, allocations: 0 / 0.4987 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007555/0.3504, allocations: 252.9 kB / 0.499 GB, free: 28.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.3504, allocations: 51.41 kB / 0.499 GB, free: 28.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3506, allocations: 258.8 kB / 0.4993 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3506, allocations: 29.7 kB / 0.4993 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.3507, allocations: 112.5 kB / 0.4994 GB, free: 27.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3507, allocations: 38.53 kB / 0.4995 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.3507, allocations: 30.7 kB / 0.4995 GB, free: 27.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.3508, allocations: 324.8 kB / 0.4998 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.3509, allocations: 31.86 kB / 0.4998 GB, free: 27.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.3509, allocations: 54.17 kB / 0.4999 GB, free: 27.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3511, allocations: 80.08 kB / 0.5 GB, free: 27.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3511, allocations: 4 kB / 0.5 GB, free: 27.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001934/0.3513, allocations: 132.7 kB / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3513, allocations: 6.312 kB / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3513, allocations: 3.422 kB / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3513, allocations: 0 / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.3514, allocations: 18.94 kB / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3514, allocations: 3.422 kB / 0.5001 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.3514, allocations: 7.344 kB / 0.5001 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3514, 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.717e-05/0.3515, allocations: 138.3 kB / 0.5003 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3515, allocations: 21.22 kB / 0.5003 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3518, allocations: 163 kB / 0.5004 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3518, allocations: 4 kB / 0.5004 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3518, allocations: 0 / 0.5004 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3518, allocations: 7.031 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.3522, allocations: 394.5 kB / 0.5008 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3522, allocations: 0 / 0.5008 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.3523, allocations: 23.62 kB / 0.5008 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3523, allocations: 8 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3523, allocations: 6.625 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3523, allocations: 0 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3523, allocations: 0 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3525, allocations: 251.2 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3525, allocations: 10.88 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3526, allocations: 14.48 kB / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3526, allocations: 3.188 kB / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3527, allocations: 10.42 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3527, allocations: 6.312 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3528, allocations: 198.4 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3528, allocations: 3.094 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3531, allocations: 30.77 kB / 0.5014 GB, free: 26.47 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.001962/0.355, allocations: 0.5389 MB / 0.5019 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3553, allocations: 82.55 kB / 0.502 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3553, allocations: 0 / 0.502 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3553, allocations: 37.59 kB / 0.502 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3557, allocations: 35.55 kB / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.3562, allocations: 308.1 kB / 0.5023 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.966e-05/0.3563, allocations: 111.1 kB / 0.5024 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.651e-05/0.3564, allocations: 25.02 kB / 0.5025 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3564, allocations: 17.62 kB / 0.5025 GB, free: 25.89 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3564, allocations: 0 / 0.5025 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Templates: time 0.005251/0.3616, allocations: 2.093 MB / 0.5045 GB, free: 25.61 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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: 4.927500645047985]