Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01542/0.01542, allocations: 107.8 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001768/0.001768, allocations: 181.9 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.933/1.933, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.257/0.257, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 8 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4991/0.6147, allocations: 133 MB / 0.5362 GB, free: 13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.625, allocations: 4.896 MB / 0.5409 GB, free: 9.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.6259, allocations: 15.28 kB / 0.541 GB, free: 9.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.6268, allocations: 176.3 kB / 0.5411 GB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.6299, allocations: 0.6608 MB / 0.5418 GB, free: 9.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.6325, allocations: 0.5275 MB / 0.5423 GB, free: 8.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.6342, allocations: 0.6718 MB / 0.5429 GB, free: 8.453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006304/0.6348, allocations: 267.8 kB / 0.5432 GB, free: 8.363 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.6359, allocations: 361.2 kB / 0.5435 GB, free: 8.215 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.6364, allocations: 260.8 kB / 0.5438 GB, free: 8.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.6365, allocations: 28.2 kB / 0.5438 GB, free: 8.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.6381, allocations: 421 kB / 0.5442 GB, free: 8.012 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.6383, allocations: 127.2 kB / 0.5443 GB, free: 7.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.6385, allocations: 117.5 kB / 0.5444 GB, free: 7.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.6398, allocations: 0.6398 MB / 0.5451 GB, free: 7.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6398, allocations: 0 / 0.5451 GB, free: 7.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6398, allocations: 0 / 0.5451 GB, free: 7.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.6398, allocations: 0 / 0.5451 GB, free: 7.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00233/0.6422, allocations: 0.8114 MB / 0.5459 GB, free: 7.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6423, allocations: 14.31 kB / 0.5459 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.6424, allocations: 75.95 kB / 0.5459 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.643, allocations: 73.45 kB / 0.546 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.6439, allocations: 382.8 kB / 0.5464 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.644, allocations: 59.3 kB / 0.5464 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6441, allocations: 46.8 kB / 0.5465 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.6461, allocations: 0.5315 MB / 0.547 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.6462, allocations: 1.906 kB / 0.547 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.6463, allocations: 21.77 kB / 0.547 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.6464, allocations: 13.81 kB / 0.547 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.649, allocations: 425.5 kB / 0.5474 GB, free: 6.285 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007051/0.6562, allocations: 2.494 MB / 0.5499 GB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.6582, allocations: 376.5 kB / 0.5502 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.6583, allocations: 11.05 kB / 0.5503 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/0.6592, allocations: 265 kB / 0.5505 GB, free: 3.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 5.831e-06/0.6592, allocations: 4 kB / 0.5505 GB, free: 3.938 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.02201/0.6812, allocations: 3.58 MB / 0.554 GB, free: 260 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.6814, allocations: 140.5 kB / 0.5541 GB, free: 88 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.682, allocations: 369.5 kB / 0.5545 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.6821, allocations: 41.7 kB / 0.5545 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6824, allocations: 259.8 kB / 0.5548 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.6826, allocations: 165.6 kB / 0.5549 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.6827, allocations: 8 kB / 0.5549 GB, free: 15.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6828, allocations: 354.8 kB / 0.5553 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.6839, allocations: 241.1 kB / 0.5555 GB, free: 14.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6852, allocations: 442.6 kB / 0.5559 GB, free: 14.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.6865, allocations: 314.3 kB / 0.5562 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6865, allocations: 4 kB / 0.5562 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003266/0.6898, allocations: 0.8336 MB / 0.5571 GB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.6898, allocations: 33.7 kB / 0.5571 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6899, allocations: 4 kB / 0.5571 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.6906, allocations: 116.8 kB / 0.5572 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6917, allocations: 156.1 kB / 0.5573 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.6926, allocations: 0.6656 MB / 0.558 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.6936, allocations: 68 kB / 0.5581 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6937, allocations: 51.95 kB / 0.5581 GB, free: 11.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004424/0.6942, allocations: 205.6 kB / 0.5583 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6943, allocations: 51.47 kB / 0.5584 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.6979, allocations: 0.7806 MB / 0.5591 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.698, allocations: 4 kB / 0.5591 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.698, allocations: 0 / 0.5591 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.698, allocations: 0 / 0.5591 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.7023, allocations: 1.314 MB / 0.5604 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.7024, allocations: 4 kB / 0.5604 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.7033, allocations: 120 kB / 0.5605 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.7044, allocations: 108.7 kB / 0.5606 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.7045, allocations: 19.98 kB / 0.5606 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.7073, allocations: 1.725 MB / 0.5623 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7074, allocations: 0 / 0.5623 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.7117, allocations: 1.099 MB / 0.5634 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.7121, allocations: 160.5 kB / 0.5636 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7123, allocations: 11.95 kB / 0.5636 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008601/0.7132, allocations: 63.88 kB / 0.5636 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.7135, allocations: 67.91 kB / 0.5637 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.916e-05/0.7136, allocations: 31.98 kB / 0.5637 GB, free: 5.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004802/0.7141, allocations: 263.2 kB / 0.564 GB, free: 5.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7141, allocations: 0 / 0.564 GB, free: 5.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001289/0.7154, allocations: 232 kB / 0.5642 GB, free: 5.309 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005952/0.7214, allocations: 2.198 MB / 0.5663 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.7241, allocations: 0.6574 MB / 0.567 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7242, allocations: 0 / 0.567 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.7257, allocations: 436 kB / 0.5674 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.7273, allocations: 171.3 kB / 0.5676 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.7386, allocations: 6.892 MB / 0.5743 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.7392, allocations: 0.8708 MB / 0.5751 GB, free: 9.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001243/0.7405, allocations: 154.1 kB / 0.5753 GB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.7412, allocations: 188.1 kB / 0.5755 GB, free: 9.504 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7412, allocations: 4 kB / 0.5755 GB, free: 9.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/0.8131, allocations: 16.96 MB / 0.592 GB, free: 8.688 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004093/0.8136, allocations: 272.1 kB / 0.5923 GB, free: 8.324 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/3.947, allocations: 0 / 0.5923 GB, free: 8.324 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat