Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4296, allocations: 60.82 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001963/0.4317, allocations: 0.491 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.4348, allocations: 1.996 MB / 0.522 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.4348, allocations: 4 kB / 0.522 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.4349, allocations: 4.969 kB / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.071e-05/0.4349, allocations: 0 / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4363, allocations: 381.8 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.4363, allocations: 2.125 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.4364, allocations: 2.312 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.4364, allocations: 0.9375 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01631/0.4527, allocations: 3.36 MB / 0.5256 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.4527, allocations: 3.938 kB / 0.5256 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.4528, allocations: 4.688 kB / 0.5256 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4529, allocations: 0 / 0.5256 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.4529, allocations: 1.375 kB / 0.5256 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.4531, allocations: 18.3 kB / 0.5257 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4531, allocations: 5.375 kB / 0.5257 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4531, allocations: 0 / 0.5257 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4531, allocations: 0 / 0.5257 GB, free: 0.8398 MB / 382.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.000263/0.4534, allocations: 315.3 kB / 0.526 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4534, allocations: 9.047 kB / 0.526 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.4536, allocations: 83.88 kB / 0.526 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4538, allocations: 238.5 kB / 0.5263 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.4538, allocations: 158.9 kB / 0.5264 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.4539, allocations: 160 kB / 0.5266 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.454, allocations: 101.7 kB / 0.5267 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.454, allocations: 75.28 kB / 0.5267 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.4541, allocations: 152.7 kB / 0.5269 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.4542, allocations: 150.6 kB / 0.527 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.4542, allocations: 155.9 kB / 0.5272 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.4546, allocations: 445.2 kB / 0.5276 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.4547, allocations: 169.1 kB / 0.5278 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.4547, allocations: 86.25 kB / 0.5279 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.4547, allocations: 79.28 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.4548, allocations: 107.2 kB / 0.528 GB, free: 14.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4548, allocations: 0 / 0.528 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.318e-05/0.4549, allocations: 35.81 kB / 0.5281 GB, free: 14.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.455, allocations: 104.9 kB / 0.5282 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4551, allocations: 91.8 kB / 0.5283 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4551, allocations: 26.67 kB / 0.5283 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.4552, allocations: 85.52 kB / 0.5284 GB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-06/0.4552, allocations: 0 / 0.5284 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4552, allocations: 12.47 kB / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4554, allocations: 316 kB / 0.5287 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.4554, allocations: 4 kB / 0.5287 GB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.4554, allocations: 13.31 kB / 0.5287 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.4555, allocations: 75.28 kB / 0.5288 GB, free: 13.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-05/0.4555, allocations: 84.62 kB / 0.5288 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.298e-05/0.4556, allocations: 33.19 kB / 0.5289 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.4556, allocations: 86.92 kB / 0.529 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.4557, allocations: 76.66 kB / 0.529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.943e-05/0.4557, allocations: 156.5 kB / 0.5292 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.424e-05/0.4558, allocations: 81.39 kB / 0.5293 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.268e-05/0.4559, allocations: 159.1 kB / 0.5294 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.456, allocations: 85.3 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.456, allocations: 76.66 kB / 0.5296 GB, free: 12.66 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.0001345/0.4562, allocations: 260 kB / 0.5298 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.4562, allocations: 106.9 kB / 0.5299 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.4563, allocations: 110.5 kB / 0.53 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.4564, allocations: 185 kB / 0.5302 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/0.4564, allocations: 107.1 kB / 0.5303 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.4565, allocations: 180.8 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.4566, allocations: 178.2 kB / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4567, allocations: 107.5 kB / 0.5307 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4568, allocations: 178.2 kB / 0.5309 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001003/0.4569, allocations: 269.4 kB / 0.5312 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001806/0.4571, allocations: 373.6 kB / 0.5315 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.105e-05/0.4572, allocations: 114.8 kB / 0.5316 GB, free: 10.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.4572, allocations: 85.22 kB / 0.5317 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.4572, allocations: 0 / 0.5317 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4576, allocations: 75.36 kB / 0.5318 GB, free: 10.29 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005597/0.4582, allocations: 0.8918 MB / 0.5327 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Templates: time 0.002771/0.4609, allocations: 311.8 kB / 0.533 GB, free: 9.273 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches