Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001921/0.001921, allocations: 71.75 kB / 21.24 MB, free: 404 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.00203/0.00203, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 8.91 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.2123/0.2123, allocations: 32.82 MB / 294.1 MB, free: 28 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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") [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.002071/0.002071, allocations: 67.91 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4662, allocations: 65.45 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003027/0.4692, allocations: 1.608 MB / 0.4957 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.4702, allocations: 0.5261 MB / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.4703, allocations: 0 / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.4706, allocations: 130.6 kB / 0.4964 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.471, allocations: 128.3 kB / 0.4965 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.4713, allocations: 86.14 kB / 0.4966 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4714, allocations: 100.3 kB / 0.4967 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.4716, allocations: 17.45 kB / 0.4967 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.4716, allocations: 48.11 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4718, allocations: 94.89 kB / 0.4968 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.4718, allocations: 3 kB / 0.4968 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.4719, allocations: 46.14 kB / 0.4969 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.4719, allocations: 27.28 kB / 0.4969 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.472, allocations: 25.69 kB / 0.4969 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4722, allocations: 128.2 kB / 0.4971 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4722, allocations: 0 / 0.4971 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4722, allocations: 3.125 kB / 0.4971 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4722, allocations: 0 / 0.4971 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.0004588/0.4726, allocations: 363.7 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4727, allocations: 16.25 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.4727, allocations: 15 kB / 0.4974 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4729, allocations: 161.8 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4729, allocations: 3.562 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.4729, allocations: 10.86 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4731, allocations: 53.36 kB / 0.4977 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4731, allocations: 3.422 kB / 0.4977 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4731, allocations: 0 / 0.4977 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4731, allocations: 0 / 0.4977 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.4732, allocations: 34.66 kB / 0.4977 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.4735, allocations: 244.4 kB / 0.4979 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4736, allocations: 44.56 kB / 0.498 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.4736, allocations: 18.86 kB / 0.498 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4737, allocations: 6.781 kB / 0.498 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4737, allocations: 34.5 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4737, allocations: 0 / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000902/0.4746, allocations: 237.8 kB / 0.4982 GB, free: 28.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.4746, allocations: 54.5 kB / 0.4983 GB, free: 28.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.4748, allocations: 273.8 kB / 0.4986 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.4748, allocations: 25.7 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.4749, allocations: 113 kB / 0.4987 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4749, allocations: 30.53 kB / 0.4987 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.4749, allocations: 24.19 kB / 0.4987 GB, free: 28.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.475, allocations: 332.9 kB / 0.4991 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.4751, allocations: 23.5 kB / 0.4991 GB, free: 27.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.4751, allocations: 24.28 kB / 0.4991 GB, free: 27.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4753, allocations: 67.2 kB / 0.4992 GB, free: 27.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4753, allocations: 0 / 0.4992 GB, free: 27.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000181/0.4754, allocations: 105.4 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4755, allocations: 7.219 kB / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4755, allocations: 80 / 0.4993 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4755, allocations: 3.938 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.4756, allocations: 19.28 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4756, allocations: 3.984 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.4756, allocations: 7.219 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4756, allocations: 7.219 kB / 0.4993 GB, free: 27.86 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 8.66e-05/0.4757, allocations: 138.6 kB / 0.4995 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.4758, allocations: 18.28 kB / 0.4995 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.476, allocations: 116.4 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.476, allocations: 0 / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.476, allocations: 3.234 kB / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.476, allocations: 0 / 0.4996 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.4765, allocations: 360 kB / 0.4999 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4765, allocations: 432 / 0.4999 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.4765, allocations: 16.12 kB / 0.4999 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4765, allocations: 7.219 kB / 0.4999 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4765, allocations: 3.516 kB / 0.5 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4765, allocations: 7.875 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4765, allocations: 3.25 kB / 0.5 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4768, allocations: 203.7 kB / 0.5002 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4768, allocations: 15.05 kB / 0.5002 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4768, allocations: 11.28 kB / 0.5002 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.4769, allocations: 10.73 kB / 0.5002 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4769, allocations: 6.828 kB / 0.5002 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.4769, allocations: 8 kB / 0.5002 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.4771, allocations: 212.7 kB / 0.5004 GB, free: 27.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4771, allocations: 3.312 kB / 0.5004 GB, free: 27.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4773, allocations: 20.12 kB / 0.5004 GB, free: 27.05 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.001897/0.4792, allocations: 496.3 kB / 0.5009 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.4794, allocations: 63.53 kB / 0.501 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4794, allocations: 0 / 0.501 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4795, allocations: 34.16 kB / 0.501 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.48, allocations: 28.94 kB / 0.501 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.4805, allocations: 309.6 kB / 0.5013 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.4806, allocations: 105 kB / 0.5014 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.4806, allocations: 10.61 kB / 0.5014 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.4807, allocations: 18.81 kB / 0.5014 GB, free: 26.51 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4807, allocations: 4 kB / 0.5015 GB, free: 26.5 MB / 446.1 MB Notification: Performance of Templates: time 0.004523/0.4852, allocations: 1.364 MB / 0.5028 GB, free: 26.3 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.086614646017551]