Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00128/0.00128, allocations: 69.8 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.001355/0.001355, allocations: 162.3 kB / 24.5 MB, free: 3.715 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.45/1.45, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2084/0.2084, allocations: 32.81 MB / 294.1 MB, free: 20 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [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.002205/0.002205, allocations: 60.19 kB / 440.6 MB, free: 9.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3505, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002565/0.3531, allocations: 1.719 MB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3544, allocations: 0.9699 MB / 0.4968 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.3545, allocations: 0 / 0.4968 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3548, allocations: 60.47 kB / 0.4969 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.355, allocations: 101.5 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3552, allocations: 73.03 kB / 0.4971 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3553, allocations: 110.6 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.3554, allocations: 11.72 kB / 0.4972 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.3555, allocations: 42.33 kB / 0.4972 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.3556, allocations: 38.53 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3556, allocations: 3.219 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.3557, allocations: 39.97 kB / 0.4973 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.3557, allocations: 27.94 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.3558, allocations: 33.14 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.356, allocations: 142.2 kB / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.356, allocations: 0 / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.356, allocations: 0 / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.356, allocations: 2.969 kB / 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.0004672/0.3564, allocations: 374.3 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3565, allocations: 9.469 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3565, allocations: 25.61 kB / 0.4979 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3567, allocations: 150.2 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3567, allocations: 7.375 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3568, allocations: 8.062 kB / 0.498 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3569, allocations: 60.16 kB / 0.4981 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3569, allocations: 7.875 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3569, allocations: 0 / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3569, allocations: 0 / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.357, allocations: 20.3 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.3573, allocations: 249.6 kB / 0.4984 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3575, allocations: 54.8 kB / 0.4984 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.3575, allocations: 22.08 kB / 0.4984 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3575, allocations: 0 / 0.4984 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.3577, allocations: 69.5 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3577, allocations: 0 / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.3582, allocations: 202.5 kB / 0.4987 GB, free: 28.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3582, allocations: 51.41 kB / 0.4988 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3584, allocations: 283.2 kB / 0.499 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3584, allocations: 32.36 kB / 0.4991 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.3584, allocations: 117.8 kB / 0.4992 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3585, allocations: 22.95 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3585, allocations: 23.62 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.3586, allocations: 332.6 kB / 0.4995 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.3586, allocations: 20.3 kB / 0.4995 GB, free: 27.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.3587, allocations: 37.14 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.818e-05/0.3588, allocations: 62.16 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3588, allocations: 3.328 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.3589, allocations: 117.5 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3589, allocations: 9.828 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3589, allocations: 0 / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.359, allocations: 0 / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.359, allocations: 13.09 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.359, allocations: 3.031 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.3591, allocations: 3.375 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.3591, allocations: 3.219 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.492e-05/0.3592, allocations: 137.6 kB / 0.4999 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3592, allocations: 21.41 kB / 0.4999 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3594, allocations: 131.8 kB / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3594, allocations: 0 / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3594, allocations: 0 / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3594, allocations: 0 / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.3598, allocations: 366.5 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3598, allocations: 0 / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.3598, allocations: 13.78 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3598, allocations: 3.984 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3598, allocations: 7.281 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3598, allocations: 0 / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3598, allocations: 3.938 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.36, allocations: 221 kB / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.36, allocations: 14.52 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.36, allocations: 3.188 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3601, allocations: 3.125 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3601, allocations: 14.62 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3602, allocations: 3.438 kB / 0.5007 GB, free: 26.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3603, allocations: 203.5 kB / 0.5009 GB, free: 26.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 4 kB / 0.5009 GB, free: 26.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3605, allocations: 31.23 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.001751/0.3623, allocations: 498 kB / 0.5014 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3625, allocations: 68.89 kB / 0.5015 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3625, allocations: 0 / 0.5015 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.3626, allocations: 31.27 kB / 0.5015 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3629, allocations: 36.53 kB / 0.5015 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3633, allocations: 296.7 kB / 0.5018 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.3634, allocations: 105.8 kB / 0.5019 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.3634, allocations: 22.28 kB / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3635, allocations: 15.12 kB / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3635, allocations: 0 / 0.5019 GB, free: 26.04 MB / 446.1 MB Notification: Performance of Templates: time 0.004415/0.3679, allocations: 1.859 MB / 0.5038 GB, free: 25.78 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.994576629949734]