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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2632/0.2632, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.88 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4224, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001586/0.4241, allocations: 491.2 kB / 0.5314 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.4278, allocations: 2.128 MB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.4278, allocations: 1.562 kB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.4279, allocations: 0 / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.236e-05/0.4279, allocations: 0 / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.4293, allocations: 409.4 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.4294, allocations: 2.75 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.4294, allocations: 9.375 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.4295, allocations: 1.375 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01599/0.4455, allocations: 3.354 MB / 0.5372 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4456, allocations: 0 / 0.5372 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4457, allocations: 4.281 kB / 0.5372 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.4457, allocations: 4 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.4457, allocations: 6.812 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4459, allocations: 8.203 kB / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4459, allocations: 0 / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4459, allocations: 0 / 0.5372 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4459, allocations: 0 / 0.5372 GB, free: 10.07 MB / 398.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.0003015/0.4462, allocations: 313.4 kB / 0.5375 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4463, allocations: 8.375 kB / 0.5375 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.4465, allocations: 90.08 kB / 0.5376 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4466, allocations: 240.9 kB / 0.5378 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.4467, allocations: 154.9 kB / 0.538 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.4467, allocations: 160.1 kB / 0.5381 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.8e-05/0.4468, allocations: 105 kB / 0.5382 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.4468, allocations: 79.27 kB / 0.5383 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.4469, allocations: 160.1 kB / 0.5385 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.4469, allocations: 150.6 kB / 0.5386 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.447, allocations: 155.9 kB / 0.5388 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.4473, allocations: 438 kB / 0.5392 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/0.4474, allocations: 175.8 kB / 0.5393 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4474, allocations: 84.08 kB / 0.5394 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4474, allocations: 79.28 kB / 0.5395 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.4475, allocations: 107.4 kB / 0.5396 GB, free: 7.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.4475, allocations: 0 / 0.5396 GB, free: 7.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.873e-05/0.4476, allocations: 34.97 kB / 0.5396 GB, free: 7.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4477, allocations: 183.3 kB / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.4478, allocations: 95.45 kB / 0.5399 GB, free: 7.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4478, allocations: 25.7 kB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.4478, allocations: 80.14 kB / 0.54 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.4478, allocations: 1.469 kB / 0.54 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.4478, allocations: 14.97 kB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.4479, allocations: 312.2 kB / 0.5403 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-06/0.448, allocations: 128 / 0.5403 GB, free: 6.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.448, allocations: 20.36 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.448, allocations: 75.28 kB / 0.5404 GB, free: 6.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/0.4481, allocations: 75.28 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.371e-05/0.4481, allocations: 41.8 kB / 0.5405 GB, free: 6.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.4482, allocations: 79.28 kB / 0.5406 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.4482, allocations: 76.88 kB / 0.5407 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.851e-05/0.4483, allocations: 160.1 kB / 0.5408 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.4483, allocations: 79.22 kB / 0.5409 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.664e-05/0.4484, allocations: 151.9 kB / 0.541 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.4485, allocations: 84.73 kB / 0.5411 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.4485, allocations: 76.84 kB / 0.5412 GB, free: 5.785 MB / 398.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 0.000104/0.4486, allocations: 261.7 kB / 0.5414 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.4487, allocations: 110.4 kB / 0.5415 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.4487, allocations: 113.1 kB / 0.5417 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.235e-05/0.4488, allocations: 181.6 kB / 0.5418 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-05/0.4488, allocations: 188.2 kB / 0.542 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/0.4489, allocations: 178 kB / 0.5422 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.4491, allocations: 406.5 kB / 0.5426 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/0.4492, allocations: 110.4 kB / 0.5427 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.4492, allocations: 101 kB / 0.5428 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/0.4493, allocations: 181.6 kB / 0.5429 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.4493, allocations: 177.9 kB / 0.5431 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.443e-05/0.4494, allocations: 176.3 kB / 0.5433 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-05/0.4494, allocations: 193.8 kB / 0.5435 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4496, allocations: 304.5 kB / 0.5438 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.4496, allocations: 179.5 kB / 0.5439 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.4497, allocations: 194 kB / 0.5441 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.4498, allocations: 106.2 kB / 0.5442 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.4499, allocations: 176.3 kB / 0.5444 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.4499, allocations: 106.8 kB / 0.5445 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.4499, allocations: 75.28 kB / 0.5446 GB, free: 2.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.45, allocations: 1.406 kB / 0.5446 GB, free: 2.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.4502, allocations: 1.75 kB / 0.5446 GB, free: 2.145 MB / 398.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.0001219/0.4503, allocations: 169 kB / 0.5447 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.637e-05/0.4504, allocations: 13.72 kB / 0.5447 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4504, allocations: 1.312 kB / 0.5447 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.4504, allocations: 3.984 kB / 0.5447 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4508, allocations: 465.9 kB / 0.5452 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.4509, allocations: 148.1 kB / 0.5453 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4512, allocations: 0.6705 MB / 0.546 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.192e-05/0.4512, allocations: 0 / 0.546 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.4512, allocations: 8.719 kB / 0.546 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4512, allocations: 0 / 0.546 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Templates: time 0.002295/0.4535, allocations: 316.1 kB / 0.5463 GB, free: 472 kB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches