Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001332/0.001332, allocations: 74.25 kB / 21.24 MB, free: 0.5469 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.001479/0.001479, allocations: 159.3 kB / 24.5 MB, free: 3.719 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.512/1.512, 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.3048/0.3048, allocations: 32.8 MB / 294.1 MB, free: 20 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.CombiTable1Ds.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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.002239/0.002239, allocations: 67.89 kB / 440.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3898, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003044/0.3928, allocations: 1.616 MB / 0.4957 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.3938, allocations: 0.5223 MB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3939, allocations: 3.938 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3942, allocations: 72.27 kB / 0.4963 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.3945, allocations: 109.6 kB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3947, allocations: 88.95 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3949, allocations: 79.41 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.395, allocations: 13.72 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.3951, allocations: 41.55 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3952, allocations: 51.59 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3952, allocations: 3.25 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.3953, allocations: 44.17 kB / 0.4967 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.3954, allocations: 17.77 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3954, allocations: 26.06 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3956, allocations: 105.6 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3956, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3956, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3956, allocations: 0 / 0.4969 GB, free: 29.7 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.000443/0.3961, allocations: 344.1 kB / 0.4972 GB, free: 29.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3961, allocations: 9.438 kB / 0.4972 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3961, allocations: 15.34 kB / 0.4972 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3963, allocations: 136.1 kB / 0.4974 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3963, allocations: 6.984 kB / 0.4974 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3963, allocations: 3.531 kB / 0.4974 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3965, allocations: 60.64 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3965, allocations: 3.938 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3965, allocations: 0 / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3965, allocations: 3.094 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3966, allocations: 27.62 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.3969, allocations: 242.4 kB / 0.4977 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.397, allocations: 41.41 kB / 0.4977 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.3971, allocations: 22.17 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.3971, allocations: 7.984 kB / 0.4978 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.3972, allocations: 30.56 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3972, allocations: 0 / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008835/0.398, allocations: 224.2 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.3981, allocations: 54.78 kB / 0.4981 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3982, allocations: 199.7 kB / 0.4983 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3982, allocations: 28.95 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.3983, allocations: 106.9 kB / 0.4984 GB, free: 28.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3983, allocations: 26.62 kB / 0.4984 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.3984, allocations: 24.22 kB / 0.4984 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.3984, allocations: 329.5 kB / 0.4987 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.3985, allocations: 23.98 kB / 0.4988 GB, free: 28.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.3986, allocations: 24.31 kB / 0.4988 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3987, allocations: 75.25 kB / 0.4989 GB, free: 28.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3987, allocations: 0 / 0.4989 GB, free: 28.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001723/0.3989, allocations: 93.8 kB / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3989, allocations: 6.594 kB / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3989, allocations: 3.453 kB / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3989, allocations: 0 / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.399, allocations: 15.84 kB / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.399, allocations: 7.109 kB / 0.499 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.399, allocations: 11.12 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3991, allocations: 3.938 kB / 0.499 GB, free: 27.95 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.446e-05/0.3991, allocations: 126.7 kB / 0.4991 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.3991, allocations: 14.44 kB / 0.4991 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3994, allocations: 120.6 kB / 0.4992 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3994, allocations: 0 / 0.4992 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3994, allocations: 3.219 kB / 0.4993 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3994, allocations: 0 / 0.4993 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.3998, allocations: 342.1 kB / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3998, allocations: 0 / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.3999, allocations: 23.2 kB / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3999, allocations: 0 / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3999, allocations: 0 / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3999, allocations: 7.281 kB / 0.4996 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3999, allocations: 0 / 0.4996 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.4001, allocations: 211.7 kB / 0.4998 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.4001, allocations: 11.2 kB / 0.4998 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4002, allocations: 3.938 kB / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.4002, allocations: 7.125 kB / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4003, allocations: 14.62 kB / 0.4998 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.4003, allocations: 3.25 kB / 0.4998 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4004, allocations: 161.5 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4004, allocations: 0 / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.4007, allocations: 19.44 kB / 0.5 GB, free: 27.16 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.4025, allocations: 487.1 kB / 0.5005 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4027, allocations: 66.61 kB / 0.5005 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4027, allocations: 0 / 0.5005 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.4028, allocations: 34.2 kB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4031, allocations: 35.09 kB / 0.5006 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.4036, allocations: 244.8 kB / 0.5008 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.4036, allocations: 93.8 kB / 0.5009 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.4037, allocations: 14.42 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.4037, allocations: 18.78 kB / 0.501 GB, free: 26.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4037, allocations: 0 / 0.501 GB, free: 26.64 MB / 446.1 MB Notification: Performance of Templates: time 0.004017/0.4077, allocations: 1.335 MB / 0.5023 GB, free: 26.46 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.252785308053717]