Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00417/0.00417, allocations: 83.88 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3536, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00165/0.3552, allocations: 0.4897 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3577, allocations: 2.064 MB / 0.4997 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.3577, allocations: 0 / 0.4997 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.3577, allocations: 0 / 0.4997 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.453e-05/0.3578, allocations: 0 / 0.4997 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.3586, allocations: 405.5 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.3587, allocations: 3.344 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3587, allocations: 4 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.3588, allocations: 7.172 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01951/0.3783, allocations: 3.383 MB / 0.5034 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3783, allocations: 7.938 kB / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.3784, allocations: 2.812 kB / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.3784, allocations: 0 / 0.5034 GB, free: 27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3784, allocations: 6.516 kB / 0.5035 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.3785, allocations: 12.23 kB / 0.5035 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3786, allocations: 0 / 0.5035 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3786, allocations: 0 / 0.5035 GB, free: 26.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3786, allocations: 0 / 0.5035 GB, free: 26.99 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.0002535/0.3788, allocations: 236.1 kB / 0.5037 GB, free: 26.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3789, allocations: 9.031 kB / 0.5037 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.379, allocations: 93.59 kB / 0.5038 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.3791, allocations: 180.8 kB / 0.504 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3792, allocations: 150.9 kB / 0.5041 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3792, allocations: 158 kB / 0.5043 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.516e-05/0.3792, allocations: 108.7 kB / 0.5044 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3792, allocations: 75.28 kB / 0.5044 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.3793, allocations: 154.5 kB / 0.5046 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.3793, allocations: 153.6 kB / 0.5047 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.3793, allocations: 154.6 kB / 0.5049 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.3795, allocations: 392.7 kB / 0.5052 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.25e-05/0.3796, allocations: 169.1 kB / 0.5054 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.3796, allocations: 87.14 kB / 0.5055 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3796, allocations: 79.22 kB / 0.5056 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3796, allocations: 112.9 kB / 0.5057 GB, free: 24.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3796, allocations: 0 / 0.5057 GB, free: 24.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.1e-05/0.3797, allocations: 32.92 kB / 0.5057 GB, free: 24.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3797, allocations: 178.1 kB / 0.5059 GB, free: 24.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.3798, allocations: 92.89 kB / 0.506 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3798, allocations: 25.7 kB / 0.506 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.3799, allocations: 84.14 kB / 0.5061 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.3799, allocations: 7.125 kB / 0.5061 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.3799, allocations: 9.719 kB / 0.5061 GB, free: 24.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.3799, allocations: 317.5 kB / 0.5064 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.3799, allocations: 0 / 0.5064 GB, free: 23.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.38, allocations: 68.03 kB / 0.5065 GB, free: 23.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.379e-05/0.38, allocations: 75.28 kB / 0.5065 GB, free: 23.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.38, allocations: 75.28 kB / 0.5066 GB, free: 23.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.823e-05/0.38, allocations: 28.73 kB / 0.5066 GB, free: 23.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3801, allocations: 80.22 kB / 0.5067 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3801, allocations: 82.19 kB / 0.5068 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/0.3801, allocations: 166 kB / 0.5069 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.05e-05/0.3801, allocations: 87.3 kB / 0.507 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.3801, allocations: 157.5 kB / 0.5072 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.3802, allocations: 75.28 kB / 0.5072 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3802, allocations: 82.3 kB / 0.5073 GB, free: 22.91 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 5.878e-05/0.3803, allocations: 267.3 kB / 0.5076 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.3803, allocations: 104.4 kB / 0.5077 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.3803, allocations: 114.7 kB / 0.5078 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.3804, allocations: 180.2 kB / 0.508 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.598e-05/0.3804, allocations: 183.1 kB / 0.5081 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.3804, allocations: 183.5 kB / 0.5083 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3805, allocations: 355.9 kB / 0.5086 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.3805, allocations: 104 kB / 0.5087 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.3806, allocations: 104.9 kB / 0.5088 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.842e-05/0.3806, allocations: 179.7 kB / 0.509 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3806, allocations: 183.1 kB / 0.5092 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.018e-05/0.3807, allocations: 180.2 kB / 0.5094 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.167e-05/0.3807, allocations: 187.3 kB / 0.5095 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.53e-05/0.3808, allocations: 305.3 kB / 0.5098 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.3808, allocations: 108.9 kB / 0.5099 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3808, allocations: 186.6 kB / 0.5101 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.3809, allocations: 108.9 kB / 0.5102 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.3809, allocations: 183.1 kB / 0.5104 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3809, allocations: 101 kB / 0.5105 GB, free: 19.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.746e-05/0.3809, allocations: 78.25 kB / 0.5106 GB, free: 19.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3809, allocations: 3.938 kB / 0.5106 GB, free: 19.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3812, allocations: 0 / 0.5106 GB, free: 19.44 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 0.0001015/0.3813, allocations: 169.7 kB / 0.5107 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.666e-05/0.3813, allocations: 11 kB / 0.5107 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3813, allocations: 0 / 0.5107 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3813, allocations: 4.094 kB / 0.5107 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3816, allocations: 454.7 kB / 0.5112 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001577/0.3818, allocations: 160.4 kB / 0.5113 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.3818, allocations: 57.61 kB / 0.5114 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.944e-05/0.3818, allocations: 0 / 0.5114 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.3818, allocations: 8.5 kB / 0.5114 GB, free: 18.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3818, allocations: 2.875 kB / 0.5114 GB, free: 18.56 MB / 446.1 MB Notification: Performance of Templates: time 0.002621/0.3844, allocations: 336.5 kB / 0.5117 GB, free: 18.48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.005561416037381]