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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 107.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3922/0.3922, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3427, allocations: 62.01 MB / 0.5151 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001779/0.3446, allocations: 0.5553 MB / 0.5157 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.3479, allocations: 2.172 MB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.3479, allocations: 0 / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.348, allocations: 4 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.348, allocations: 0 / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3493, allocations: 304.3 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.3493, allocations: 3 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.3494, allocations: 0 / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.3494, allocations: 2.938 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04023/0.3897, allocations: 3.202 MB / 0.5212 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3897, allocations: 0 / 0.5212 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.3898, allocations: 5.938 kB / 0.5212 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.3898, allocations: 2.281 kB / 0.5212 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.3899, allocations: 0 / 0.5212 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.39, allocations: 16.58 kB / 0.5213 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.39, allocations: 0 / 0.5213 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.39, allocations: 0 / 0.5213 GB, free: 34.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.39, allocations: 2.719 kB / 0.5213 GB, free: 34.98 MB / 378.7 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.0002804/0.3903, allocations: 313.6 kB / 0.5216 GB, free: 34.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3903, allocations: 10.47 kB / 0.5216 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.3905, allocations: 84.62 kB / 0.5216 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.3906, allocations: 242.3 kB / 0.5219 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3907, allocations: 154.9 kB / 0.522 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3907, allocations: 154.7 kB / 0.5222 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.724e-05/0.3907, allocations: 105 kB / 0.5223 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3908, allocations: 78.19 kB / 0.5223 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.3908, allocations: 157.3 kB / 0.5225 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3908, allocations: 150.6 kB / 0.5226 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.3909, allocations: 150.6 kB / 0.5228 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3911, allocations: 453.9 kB / 0.5232 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.3911, allocations: 167.8 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.3912, allocations: 91.3 kB / 0.5235 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3912, allocations: 75.28 kB / 0.5235 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.3912, allocations: 116.7 kB / 0.5236 GB, free: 32.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3912, allocations: 0 / 0.5236 GB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.372e-05/0.3913, allocations: 29.64 kB / 0.5237 GB, free: 32.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3914, allocations: 181.2 kB / 0.5238 GB, free: 32.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.3915, allocations: 89.86 kB / 0.5239 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.3915, allocations: 25.7 kB / 0.524 GB, free: 32.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.3915, allocations: 80.14 kB / 0.524 GB, free: 31.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3915, allocations: 2.75 kB / 0.524 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.3915, allocations: 17.19 kB / 0.5241 GB, free: 31.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.3916, allocations: 318 kB / 0.5244 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/0.3916, allocations: 0 / 0.5244 GB, free: 31.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.3916, allocations: 9.719 kB / 0.5244 GB, free: 31.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/0.3917, allocations: 77.91 kB / 0.5244 GB, free: 31.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.3917, allocations: 79.28 kB / 0.5245 GB, free: 31.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.826e-05/0.3917, allocations: 36.67 kB / 0.5246 GB, free: 31.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3917, allocations: 84.97 kB / 0.5246 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3918, allocations: 78.61 kB / 0.5247 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/0.3918, allocations: 150.6 kB / 0.5249 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.375e-05/0.3918, allocations: 81.62 kB / 0.5249 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.3919, allocations: 154.6 kB / 0.5251 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.3919, allocations: 81.92 kB / 0.5252 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.392, allocations: 83.28 kB / 0.5252 GB, free: 30.72 MB / 378.7 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 7.569e-05/0.392, allocations: 263.4 kB / 0.5255 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3921, allocations: 104.9 kB / 0.5256 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.3921, allocations: 110.7 kB / 0.5257 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.3921, allocations: 180.3 kB / 0.5259 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.34e-05/0.3922, allocations: 190 kB / 0.526 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/0.3922, allocations: 176.3 kB / 0.5262 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3924, allocations: 403.7 kB / 0.5266 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.3924, allocations: 108.2 kB / 0.5267 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.3924, allocations: 101 kB / 0.5268 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.544e-05/0.3925, allocations: 182.7 kB / 0.527 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3925, allocations: 180.3 kB / 0.5271 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.542e-05/0.3925, allocations: 186.2 kB / 0.5273 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.33e-05/0.3926, allocations: 180.2 kB / 0.5275 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3928, allocations: 0.8527 MB / 0.5283 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.3929, allocations: 182 kB / 0.5285 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.3929, allocations: 181.9 kB / 0.5287 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.393, allocations: 105.4 kB / 0.5288 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3931, allocations: 178.6 kB / 0.5289 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3931, allocations: 101 kB / 0.529 GB, free: 26.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.3931, allocations: 89.2 kB / 0.5291 GB, free: 26.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 0 / 0.5291 GB, free: 26.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.3935, allocations: 2.625 kB / 0.5291 GB, free: 26.52 MB / 378.7 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 8.358e-05/0.3936, allocations: 173.4 kB / 0.5293 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.382e-05/0.3937, allocations: 48 / 0.5293 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3937, allocations: 0 / 0.5293 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.103e-06/0.3937, allocations: 2.5 kB / 0.5293 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.394, allocations: 0.5209 MB / 0.5298 GB, free: 25.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.3942, allocations: 149.3 kB / 0.5299 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3943, allocations: 0.6754 MB / 0.5306 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.072e-05/0.3943, allocations: 0 / 0.5306 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-06/0.3943, allocations: 7.438 kB / 0.5306 GB, free: 24.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3943, allocations: 7.938 kB / 0.5306 GB, free: 24.95 MB / 378.7 MB Notification: Performance of Templates: time 0.001869/0.3962, allocations: 308.2 kB / 0.5309 GB, free: 24.87 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches