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.00117/0.00117, allocations: 107.7 kB / 18.45 MB, free: 4.637 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.001013/0.001013, allocations: 190.1 kB / 19.39 MB, free: 3.707 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.386/1.386, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.21/0.21, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4185, allocations: 60.82 MB / 0.5195 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00149/0.4201, allocations: 498 kB / 0.52 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.4228, allocations: 1.999 MB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.4229, allocations: 0 / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.4229, allocations: 5.062 kB / 0.522 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.01e-05/0.4229, allocations: 0 / 0.522 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.4241, allocations: 389 kB / 0.5223 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.4241, allocations: 2.312 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.4242, allocations: 3.578 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.4242, allocations: 1.219 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/0.4394, allocations: 3.354 MB / 0.5256 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.4395, allocations: 0 / 0.5256 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.4396, allocations: 5.016 kB / 0.5256 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.4396, allocations: 1.094 kB / 0.5256 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.4396, allocations: 1.375 kB / 0.5256 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.4397, allocations: 14.23 kB / 0.5257 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4398, allocations: 0 / 0.5257 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4398, allocations: 5.062 kB / 0.5257 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4398, allocations: 0 / 0.5257 GB, free: 0.8359 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.0002248/0.44, allocations: 326.2 kB / 0.526 GB, free: 488 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.44, allocations: 9.031 kB / 0.526 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.4402, allocations: 85.92 kB / 0.5261 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.4403, allocations: 245.8 kB / 0.5263 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.4404, allocations: 150.9 kB / 0.5264 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.4404, allocations: 154.7 kB / 0.5266 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.964e-05/0.4405, allocations: 106.9 kB / 0.5267 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.4405, allocations: 75.28 kB / 0.5268 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.4406, allocations: 152.5 kB / 0.5269 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.4406, allocations: 150.6 kB / 0.527 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.4407, allocations: 155.8 kB / 0.5272 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.441, allocations: 447.8 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.441, allocations: 166.5 kB / 0.5278 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.4411, allocations: 86.08 kB / 0.5279 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.4411, allocations: 75.28 kB / 0.5279 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.4412, allocations: 115.9 kB / 0.528 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.4412, allocations: 3.938 kB / 0.528 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.508e-05/0.4412, allocations: 27.61 kB / 0.5281 GB, free: 14.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4413, allocations: 104 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.4414, allocations: 92.53 kB / 0.5283 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4414, allocations: 25.7 kB / 0.5283 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.4414, allocations: 81.45 kB / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.4414, allocations: 0 / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.4415, allocations: 17.28 kB / 0.5284 GB, free: 13.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4416, allocations: 315.5 kB / 0.5287 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-06/0.4416, allocations: 1.281 kB / 0.5287 GB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.4416, allocations: 11.77 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.4417, allocations: 80.19 kB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.4417, allocations: 79.22 kB / 0.5288 GB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.272e-05/0.4418, allocations: 41.12 kB / 0.5289 GB, free: 13.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.4418, allocations: 85.53 kB / 0.529 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.4418, allocations: 77.53 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.775e-05/0.4419, allocations: 158.5 kB / 0.5292 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.863e-05/0.4419, allocations: 77.61 kB / 0.5293 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.41e-05/0.442, allocations: 152.5 kB / 0.5294 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.4421, allocations: 85.14 kB / 0.5295 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.4421, allocations: 80.44 kB / 0.5296 GB, free: 12.64 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.0001143/0.4422, allocations: 259.8 kB / 0.5298 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.4423, allocations: 111.2 kB / 0.5299 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.4423, allocations: 105.3 kB / 0.53 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.4424, allocations: 186.5 kB / 0.5302 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/0.4425, allocations: 106.8 kB / 0.5303 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.4425, allocations: 183.5 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.4426, allocations: 183.7 kB / 0.5307 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.4427, allocations: 103.1 kB / 0.5308 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.4428, allocations: 177 kB / 0.5309 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.847e-05/0.4429, allocations: 265.8 kB / 0.5312 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001704/0.4431, allocations: 382.3 kB / 0.5315 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.313e-05/0.4431, allocations: 107.1 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.4431, allocations: 80.66 kB / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.4432, allocations: 0 / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.4435, allocations: 74.91 kB / 0.5318 GB, free: 10.28 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004678/0.444, allocations: 0.8953 MB / 0.5327 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Templates: time 0.002341/0.4463, allocations: 304.6 kB / 0.533 GB, free: 9.266 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