Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001566/0.001566, 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.001961/0.001961, 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.44/1.44, 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.239/0.239, allocations: 32.81 MB / 294.1 MB, free: 12 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [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.00212/0.00212, allocations: 67.91 kB / 440.6 MB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002771/0.3476, allocations: 1.873 MB / 0.4961 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3491, allocations: 1.077 MB / 0.4971 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.3492, allocations: 6.906 kB / 0.4971 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3495, allocations: 164.8 kB / 0.4973 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.3499, allocations: 178.7 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3501, allocations: 118.4 kB / 0.4976 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.3503, allocations: 252 kB / 0.4978 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3504, allocations: 23.3 kB / 0.4978 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3506, allocations: 106.2 kB / 0.4979 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3507, allocations: 140.1 kB / 0.4981 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3507, allocations: 9.469 kB / 0.4981 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3508, allocations: 63.12 kB / 0.4981 GB, free: 29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.3509, allocations: 56.27 kB / 0.4982 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.351, allocations: 65.53 kB / 0.4982 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3512, allocations: 229.7 kB / 0.4985 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3512, allocations: 0 / 0.4985 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3512, allocations: 7.406 kB / 0.4985 GB, free: 28.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3512, allocations: 0 / 0.4985 GB, free: 28.83 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.0005731/0.3518, allocations: 484.8 kB / 0.4989 GB, free: 28.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3518, allocations: 9.031 kB / 0.4989 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.3519, allocations: 30 kB / 0.499 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3522, allocations: 212.4 kB / 0.4992 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3522, allocations: 3.531 kB / 0.4992 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3522, allocations: 14.5 kB / 0.4992 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3524, allocations: 114.8 kB / 0.4993 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3525, allocations: 10.59 kB / 0.4993 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3525, allocations: 0 / 0.4993 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3525, allocations: 2.906 kB / 0.4993 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3526, allocations: 48.38 kB / 0.4994 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.353, allocations: 407.3 kB / 0.4997 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3534, allocations: 117 kB / 0.4999 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.3534, allocations: 51.64 kB / 0.4999 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3535, allocations: 4 kB / 0.4999 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3537, allocations: 136.5 kB / 0.5 GB, free: 27.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.3537, allocations: 0 / 0.5 GB, free: 27.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001168/0.3548, allocations: 0.5038 MB / 0.5005 GB, free: 27.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3549, allocations: 80.33 kB / 0.5006 GB, free: 27.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3552, allocations: 383.4 kB / 0.501 GB, free: 27.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3552, allocations: 32.8 kB / 0.501 GB, free: 27.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.3552, allocations: 151.9 kB / 0.5011 GB, free: 26.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.3553, allocations: 71.91 kB / 0.5012 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.3553, allocations: 41.38 kB / 0.5013 GB, free: 26.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.3554, allocations: 347.2 kB / 0.5016 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3555, allocations: 58.3 kB / 0.5016 GB, free: 26.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3556, allocations: 98.41 kB / 0.5017 GB, free: 26.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.3559, allocations: 162.2 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3559, allocations: 7.938 kB / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003484/0.3562, allocations: 237.7 kB / 0.5021 GB, free: 26.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3562, allocations: 6.562 kB / 0.5021 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3562, allocations: 3.938 kB / 0.5021 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3563, allocations: 3.281 kB / 0.5021 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3564, allocations: 39.86 kB / 0.5022 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3564, allocations: 3.219 kB / 0.5022 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.3565, allocations: 14.59 kB / 0.5022 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3565, allocations: 6.594 kB / 0.5022 GB, free: 26.2 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.0001059/0.3566, allocations: 158.6 kB / 0.5023 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3566, allocations: 28.72 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.3571, allocations: 275.2 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3571, allocations: 3.312 kB / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3571, allocations: 0 / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3571, allocations: 0 / 0.5026 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.3578, allocations: 0.6808 MB / 0.5033 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3578, allocations: 0 / 0.5033 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.3579, allocations: 43.27 kB / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3579, allocations: 0 / 0.5033 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3579, allocations: 6.031 kB / 0.5034 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3579, allocations: 3.125 kB / 0.5034 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3579, allocations: 0 / 0.5034 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.3583, allocations: 449.5 kB / 0.5038 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.3584, allocations: 23.53 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3584, allocations: 9.312 kB / 0.5038 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3585, allocations: 10.81 kB / 0.5038 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.3586, allocations: 26.55 kB / 0.5039 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3586, allocations: 10.91 kB / 0.5039 GB, free: 25.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3588, allocations: 285.8 kB / 0.5041 GB, free: 24.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3588, allocations: 0 / 0.5041 GB, free: 24.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.3592, allocations: 58.77 kB / 0.5042 GB, free: 24.95 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.002019/0.3612, allocations: 0.5493 MB / 0.5047 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.3615, allocations: 158 kB / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3615, allocations: 0 / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3617, allocations: 85.02 kB / 0.505 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3622, allocations: 67.67 kB / 0.505 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.363, allocations: 0.5154 MB / 0.5055 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3631, allocations: 157.2 kB / 0.5057 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.577e-05/0.3632, allocations: 43.62 kB / 0.5057 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.3633, allocations: 31.84 kB / 0.5057 GB, free: 24.17 MB / 446.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3633, allocations: 3.938 kB / 0.5058 GB, free: 24.16 MB / 446.1 MB Notification: Performance of Templates: time 0.006604/0.3699, allocations: 3.279 MB / 0.509 GB, free: 23.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.155225420952775]