Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001409/0.001409, allocations: 77.14 kB / 21.25 MB, free: 0.5391 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.001641/0.001641, allocations: 159.9 kB / 24.51 MB, free: 3.707 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.508/1.508, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2077/0.2077, allocations: 32.8 MB / 294.1 MB, free: 8 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [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.002284/0.002284, allocations: 70.39 kB / 440.6 MB, free: 9.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3581, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002837/0.3609, allocations: 1.622 MB / 0.4958 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.3619, allocations: 0.5338 MB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.3619, allocations: 3.938 kB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3622, allocations: 72.58 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3625, allocations: 102.8 kB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3628, allocations: 105.9 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.363, allocations: 90.16 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3631, allocations: 10.41 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.3631, allocations: 49.45 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.3632, allocations: 41.05 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3633, allocations: 3.219 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.3633, allocations: 47.19 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.3634, allocations: 21.69 kB / 0.4968 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3634, allocations: 25.3 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3636, allocations: 102.5 kB / 0.4969 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3636, allocations: 3.938 kB / 0.4969 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3636, allocations: 0 / 0.4969 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3636, allocations: 4 kB / 0.4969 GB, free: 29.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004582/0.3641, allocations: 338 kB / 0.4972 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3641, allocations: 9.219 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3642, allocations: 12.09 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3643, allocations: 146.6 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3644, allocations: 3.5 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3644, allocations: 4.375 kB / 0.4974 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3645, allocations: 56.48 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3645, allocations: 3.938 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3645, allocations: 7.938 kB / 0.4975 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3645, allocations: 7.938 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.3646, allocations: 26.58 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.365, allocations: 242.4 kB / 0.4977 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3651, allocations: 48.97 kB / 0.4978 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.3651, allocations: 18.52 kB / 0.4978 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3651, allocations: 0 / 0.4978 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3651, allocations: 33.72 kB / 0.4978 GB, free: 28.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3651, allocations: 0 / 0.4978 GB, free: 28.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008501/0.366, allocations: 245.5 kB / 0.4981 GB, free: 28.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.366, allocations: 54.62 kB / 0.4981 GB, free: 28.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3662, allocations: 195 kB / 0.4983 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.3662, allocations: 29.7 kB / 0.4983 GB, free: 28.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3662, allocations: 105.5 kB / 0.4984 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3663, allocations: 34.47 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.3663, allocations: 23.59 kB / 0.4985 GB, free: 28.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.3663, allocations: 325.6 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3664, allocations: 27.92 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.3665, allocations: 31.88 kB / 0.4989 GB, free: 28.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3666, allocations: 77.44 kB / 0.4989 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3666, allocations: 0 / 0.4989 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002/0.3668, allocations: 114.4 kB / 0.499 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3669, allocations: 6.062 kB / 0.4991 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3669, allocations: 80 / 0.4991 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3669, allocations: 0 / 0.4991 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.367, allocations: 19.16 kB / 0.4991 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.367, allocations: 3.984 kB / 0.4991 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.367, allocations: 14.5 kB / 0.4991 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.367, allocations: 3.938 kB / 0.4991 GB, free: 27.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.95e-05/0.3671, allocations: 130.1 kB / 0.4992 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3671, allocations: 15.06 kB / 0.4992 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3674, allocations: 131.5 kB / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3674, allocations: 3.156 kB / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3674, allocations: 0 / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3674, allocations: 3.422 kB / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.3678, allocations: 355.2 kB / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3678, allocations: 0 / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3679, allocations: 24 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3679, allocations: 3.188 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3679, allocations: 0 / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3679, allocations: 3.938 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3679, allocations: 3.281 kB / 0.4997 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3681, allocations: 211.2 kB / 0.4999 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.3682, allocations: 15.17 kB / 0.5 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3682, allocations: 0 / 0.5 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3683, allocations: 10.36 kB / 0.5 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3683, allocations: 14.61 kB / 0.5 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3683, allocations: 7.094 kB / 0.5 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3684, allocations: 155.1 kB / 0.5001 GB, free: 27.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3684, allocations: 0 / 0.5001 GB, free: 27.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3687, allocations: 24.14 kB / 0.5002 GB, free: 27.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001811/0.3705, allocations: 496 kB / 0.5006 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.3707, allocations: 68.08 kB / 0.5007 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3707, allocations: 3.938 kB / 0.5007 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.3708, allocations: 38.23 kB / 0.5007 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3711, allocations: 28.14 kB / 0.5008 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.3716, allocations: 266.7 kB / 0.501 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.3717, allocations: 93.34 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.3717, allocations: 20.72 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3718, allocations: 18.62 kB / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3718, allocations: 0 / 0.5011 GB, free: 26.6 MB / 446.1 MB Notification: Performance of Templates: time 0.004072/0.3759, allocations: 1.375 MB / 0.5025 GB, free: 26.4 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.924226096016355]