Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001345/0.001345, allocations: 73.48 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.001621/0.001621, allocations: 158.2 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.432/1.432, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.89 kB / 443.1 MB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3968, allocations: 66.01 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001522/0.3984, allocations: 493 kB / 0.4977 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.4009, allocations: 2.066 MB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.4009, allocations: 3.938 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.4009, allocations: 0 / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.94e-05/0.4009, allocations: 3.938 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.4019, allocations: 396.6 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.4019, allocations: 0 / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.402, allocations: 11.05 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.402, allocations: 4 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01953/0.4215, allocations: 3.395 MB / 0.5034 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.4215, allocations: 0 / 0.5034 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.4216, allocations: 2.875 kB / 0.5034 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.4216, allocations: 10.95 kB / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.4217, allocations: 0 / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.4218, allocations: 13.47 kB / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4218, allocations: 0 / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4218, allocations: 0 / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4218, allocations: 0 / 0.5034 GB, free: 27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002371/0.4221, allocations: 236.4 kB / 0.5037 GB, free: 26.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4221, allocations: 8.906 kB / 0.5037 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.4223, allocations: 85.66 kB / 0.5038 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.305e-05/0.4224, allocations: 184.8 kB / 0.5039 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.4224, allocations: 154.9 kB / 0.5041 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4224, allocations: 158.2 kB / 0.5042 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.666e-05/0.4225, allocations: 104 kB / 0.5043 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4225, allocations: 79.22 kB / 0.5044 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.4225, allocations: 150.6 kB / 0.5045 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.4225, allocations: 150.6 kB / 0.5047 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.4226, allocations: 153.5 kB / 0.5048 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4227, allocations: 400.5 kB / 0.5052 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.947e-05/0.4228, allocations: 165.1 kB / 0.5054 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.4228, allocations: 84.08 kB / 0.5055 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4228, allocations: 78.28 kB / 0.5055 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4229, allocations: 121.2 kB / 0.5056 GB, free: 24.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4229, allocations: 0 / 0.5056 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.718e-05/0.4229, allocations: 28.73 kB / 0.5057 GB, free: 24.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.423, allocations: 178.1 kB / 0.5058 GB, free: 24.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.4231, allocations: 92.83 kB / 0.5059 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.4231, allocations: 25.7 kB / 0.506 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.4231, allocations: 80.14 kB / 0.506 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.4231, allocations: 0 / 0.506 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.4231, allocations: 16.69 kB / 0.506 GB, free: 24.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.4232, allocations: 317.3 kB / 0.5064 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.4232, allocations: 8.062 kB / 0.5064 GB, free: 23.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.4232, allocations: 68.09 kB / 0.5064 GB, free: 23.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.395e-05/0.4232, allocations: 75.28 kB / 0.5065 GB, free: 23.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4233, allocations: 75.28 kB / 0.5066 GB, free: 23.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.542e-05/0.4233, allocations: 32.67 kB / 0.5066 GB, free: 23.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4233, allocations: 81.25 kB / 0.5067 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4233, allocations: 79.22 kB / 0.5068 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.4234, allocations: 161.2 kB / 0.5069 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.015e-05/0.4234, allocations: 75.28 kB / 0.507 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.4234, allocations: 158.5 kB / 0.5071 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.4235, allocations: 82.31 kB / 0.5072 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4235, allocations: 79.22 kB / 0.5073 GB, free: 22.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 (0): * Single equations (assignments): 0 * 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.492e-05/0.4235, allocations: 260 kB / 0.5075 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4236, allocations: 111.1 kB / 0.5076 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.4236, allocations: 111.8 kB / 0.5077 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.4236, allocations: 183.2 kB / 0.5079 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/0.4237, allocations: 176.3 kB / 0.5081 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.4237, allocations: 186.6 kB / 0.5083 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.4238, allocations: 347.9 kB / 0.5086 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.4238, allocations: 105 kB / 0.5087 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.4238, allocations: 112.9 kB / 0.5088 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.718e-05/0.4239, allocations: 186.3 kB / 0.509 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.4239, allocations: 184.1 kB / 0.5092 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.4239, allocations: 179.3 kB / 0.5093 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/0.4239, allocations: 184.2 kB / 0.5095 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.911e-05/0.424, allocations: 309.6 kB / 0.5098 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.424, allocations: 107.9 kB / 0.5099 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.4241, allocations: 187.6 kB / 0.5101 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.4241, allocations: 111.8 kB / 0.5102 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.4242, allocations: 176.3 kB / 0.5104 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4242, allocations: 103.9 kB / 0.5105 GB, free: 19.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.4242, allocations: 79.28 kB / 0.5105 GB, free: 19.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4242, allocations: 0 / 0.5105 GB, free: 19.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.4244, allocations: 2.875 kB / 0.5105 GB, free: 19.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 7.655e-05/0.4245, allocations: 174 kB / 0.5107 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.901e-05/0.4246, allocations: 0 / 0.5107 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4246, allocations: 3.031 kB / 0.5107 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4246, allocations: 0 / 0.5107 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4248, allocations: 458.7 kB / 0.5111 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.425, allocations: 160.6 kB / 0.5113 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.425, allocations: 54.36 kB / 0.5113 GB, free: 18.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.4251, allocations: 7.453 kB / 0.5114 GB, free: 18.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.4251, allocations: 8.5 kB / 0.5114 GB, free: 18.58 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4251, allocations: 0 / 0.5114 GB, free: 18.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002471/0.4275, allocations: 342.6 kB / 0.5117 GB, free: 18.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.990456058993004]