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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001708, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.335, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001532/0.3365, allocations: 491.7 kB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.3398, allocations: 2.131 MB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.3399, allocations: 0 / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.3399, allocations: 0 / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.657e-05/0.3399, allocations: 5.531 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3411, allocations: 393.3 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.3411, allocations: 5.375 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.3411, allocations: 5.359 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.3412, allocations: 5.375 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/0.3617, allocations: 3.356 MB / 0.5368 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3618, allocations: 1.031 kB / 0.5368 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3619, allocations: 7.156 kB / 0.5368 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3619, allocations: 1.156 kB / 0.5368 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3619, allocations: 1.312 kB / 0.5368 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3621, allocations: 13.02 kB / 0.5368 GB, free: 9.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3621, allocations: 4 kB / 0.5368 GB, free: 9.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3621, allocations: 0 / 0.5368 GB, free: 9.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3621, allocations: 0 / 0.5368 GB, free: 9.785 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.00039/0.3625, allocations: 317.3 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3626, allocations: 9.562 kB / 0.5371 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.3626, allocations: 106 kB / 0.5372 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3628, allocations: 86.58 kB / 0.5373 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.363, allocations: 239.7 kB / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/0.3631, allocations: 160.2 kB / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.3632, allocations: 154.5 kB / 0.5378 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.3633, allocations: 106.3 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/0.3634, allocations: 79.28 kB / 0.538 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.3634, allocations: 150.6 kB / 0.5382 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.3635, allocations: 155.9 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3636, allocations: 154.5 kB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.3639, allocations: 443.6 kB / 0.5389 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.364, allocations: 174.4 kB / 0.539 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.3641, allocations: 84.14 kB / 0.5391 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3641, allocations: 75.28 kB / 0.5392 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.3642, allocations: 107.4 kB / 0.5393 GB, free: 7.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3642, allocations: 0 / 0.5393 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.868e-05/0.3643, allocations: 27.27 kB / 0.5393 GB, free: 7.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.3644, allocations: 187.6 kB / 0.5395 GB, free: 6.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3646, allocations: 99.14 kB / 0.5396 GB, free: 6.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3646, allocations: 29.64 kB / 0.5396 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3646, allocations: 81.77 kB / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3646, allocations: 0 / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.3647, allocations: 11.31 kB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3648, allocations: 312.4 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-06/0.3648, allocations: 0 / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.3649, allocations: 19.41 kB / 0.54 GB, free: 6.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.3649, allocations: 76.56 kB / 0.5401 GB, free: 6.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/0.365, allocations: 75.28 kB / 0.5402 GB, free: 6.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.794e-05/0.365, allocations: 36.84 kB / 0.5402 GB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.3651, allocations: 79.72 kB / 0.5403 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.3651, allocations: 80.53 kB / 0.5404 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.837e-05/0.3652, allocations: 156.2 kB / 0.5405 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.3653, allocations: 87.25 kB / 0.5406 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.856e-05/0.3653, allocations: 151.9 kB / 0.5407 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.321e-05/0.3654, allocations: 80.62 kB / 0.5408 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.3655, allocations: 80.88 kB / 0.5409 GB, free: 5.391 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.0001496/0.3656, allocations: 269.7 kB / 0.5412 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.3657, allocations: 102.4 kB / 0.5413 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.3658, allocations: 117.4 kB / 0.5414 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.101e-05/0.3659, allocations: 181.6 kB / 0.5415 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001101/0.366, allocations: 184.3 kB / 0.5417 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.571e-05/0.3661, allocations: 185.8 kB / 0.5419 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.3664, allocations: 398.5 kB / 0.5423 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/0.3664, allocations: 110.2 kB / 0.5424 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.3665, allocations: 106.2 kB / 0.5425 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-05/0.3666, allocations: 180.3 kB / 0.5426 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.3667, allocations: 181.4 kB / 0.5428 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.612e-05/0.3668, allocations: 177.9 kB / 0.543 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.611e-05/0.3669, allocations: 181.6 kB / 0.5432 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.3671, allocations: 312.4 kB / 0.5435 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.3672, allocations: 182 kB / 0.5436 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3673, allocations: 181.7 kB / 0.5438 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3674, allocations: 110.5 kB / 0.5439 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.3675, allocations: 185.3 kB / 0.5441 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.3676, allocations: 102 kB / 0.5442 GB, free: 1.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.3676, allocations: 80.19 kB / 0.5443 GB, free: 1.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3676, allocations: 1.062 kB / 0.5443 GB, free: 1.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3679, allocations: 2.125 kB / 0.5443 GB, free: 1.742 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.0004968/0.3684, allocations: 0.8118 MB / 0.5451 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.489e-05/0.3684, allocations: 1.375 kB / 0.5451 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3684, allocations: 0 / 0.5451 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.3684, allocations: 3.938 kB / 0.5451 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3689, allocations: 462.1 kB / 0.5455 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.3692, allocations: 175.7 kB / 0.5457 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3696, allocations: 0.6742 MB / 0.5463 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.3696, allocations: 0 / 0.5463 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.3696, allocations: 8.75 kB / 0.5463 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3696, allocations: 0 / 0.5463 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.3918, allocations: 1.018 MB / 0.5473 GB, free: 14.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.444, allocations: 7.375 kB / 0.5473 GB, free: 14.93 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/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_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches