Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001337/0.001337, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 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.001428/0.001428, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2039/0.2039, allocations: 32.81 MB / 294.1 MB, free: 16 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [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.002185/0.002185, allocations: 71.89 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3603, allocations: 65.43 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002717/0.3631, allocations: 1.733 MB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3644, allocations: 0.9728 MB / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.3645, allocations: 0 / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3648, allocations: 48.62 kB / 0.4969 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.3651, allocations: 103.7 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.3653, allocations: 80.45 kB / 0.4971 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3654, allocations: 110 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3655, allocations: 3.656 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.3656, allocations: 44.52 kB / 0.4972 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.3657, allocations: 31.59 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3657, allocations: 9.891 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.3658, allocations: 39.08 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.3658, allocations: 31.44 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.3659, allocations: 32 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3661, allocations: 144.5 kB / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3661, allocations: 0 / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3661, allocations: 7.188 kB / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3661, allocations: 0 / 0.4975 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004891/0.3666, allocations: 372.6 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3666, allocations: 9.312 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.3667, allocations: 15.09 kB / 0.4979 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3669, allocations: 159.6 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3669, allocations: 384 / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3669, allocations: 10.88 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3671, allocations: 60.19 kB / 0.4981 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3671, allocations: 3.219 kB / 0.4981 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3671, allocations: 7.938 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3671, allocations: 0 / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.3672, allocations: 23.48 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.3675, allocations: 242 kB / 0.4984 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3676, allocations: 56.41 kB / 0.4984 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.3677, allocations: 25.88 kB / 0.4984 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3677, allocations: 0 / 0.4984 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3678, allocations: 72.7 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3678, allocations: 4 kB / 0.4985 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.3684, allocations: 193.4 kB / 0.4987 GB, free: 28.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.3684, allocations: 51.41 kB / 0.4988 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3686, allocations: 278.7 kB / 0.499 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3686, allocations: 25.7 kB / 0.499 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3687, allocations: 120.7 kB / 0.4992 GB, free: 27.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3687, allocations: 30.19 kB / 0.4992 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3687, allocations: 23.59 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.3688, allocations: 331.8 kB / 0.4995 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.3689, allocations: 24.27 kB / 0.4996 GB, free: 27.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.3689, allocations: 37.44 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.369, allocations: 64.66 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.369, allocations: 0 / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001631/0.3692, allocations: 109.6 kB / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3692, allocations: 6.375 kB / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3692, allocations: 0 / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3692, allocations: 3.984 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.3693, allocations: 22.89 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3693, allocations: 4.031 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3694, allocations: 3.25 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3694, allocations: 2.875 kB / 0.4998 GB, free: 27.41 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 7.86e-05/0.3694, allocations: 137 kB / 0.4999 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3695, allocations: 13.94 kB / 0.4999 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3697, allocations: 128 kB / 0.5001 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3697, allocations: 3.062 kB / 0.5001 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3697, allocations: 0 / 0.5001 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3697, allocations: 7.219 kB / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.37, allocations: 366.6 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.37, allocations: 0 / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.3701, allocations: 13.53 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3701, allocations: 3.516 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3701, allocations: 7.188 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3701, allocations: 384 / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3701, allocations: 3.938 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3703, allocations: 216.9 kB / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.3703, allocations: 14.06 kB / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3703, allocations: 8 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3704, allocations: 7.188 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3704, allocations: 10.48 kB / 0.5007 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3704, allocations: 3.281 kB / 0.5007 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3706, allocations: 208.9 kB / 0.5009 GB, free: 26.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3706, allocations: 0 / 0.5009 GB, free: 26.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3708, allocations: 30.89 kB / 0.5009 GB, free: 26.57 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.001757/0.3726, allocations: 498 kB / 0.5014 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.3728, allocations: 59.83 kB / 0.5015 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3728, allocations: 0 / 0.5015 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.3728, allocations: 30.06 kB / 0.5015 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3732, allocations: 30.56 kB / 0.5015 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.3736, allocations: 301.9 kB / 0.5018 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.3737, allocations: 110.3 kB / 0.5019 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.3738, allocations: 18.14 kB / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3738, allocations: 21 kB / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3738, allocations: 0 / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of Templates: time 0.004655/0.3784, allocations: 1.858 MB / 0.5038 GB, free: 25.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.963084986084141]