Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 204.6 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.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 87.84 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04161/0.3611, allocations: 36.49 MB / 0.5662 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3827, allocations: 16.77 MB / 0.5826 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.3834, allocations: 23.88 kB / 0.5826 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3846, allocations: 421.4 kB / 0.583 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.3954, allocations: 4.037 MB / 0.587 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008535/0.4039, allocations: 3.154 MB / 0.5901 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.4065, allocations: 1.794 MB / 0.5918 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.4074, allocations: 0.5431 MB / 0.5924 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.4089, allocations: 0.7589 MB / 0.5931 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008901/0.4098, allocations: 0.5721 MB / 0.5937 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.4099, allocations: 76 kB / 0.5937 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01513/0.4251, allocations: 7.461 MB / 0.601 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.4256, allocations: 259.3 kB / 0.6013 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006649/0.4263, allocations: 422.2 kB / 0.6017 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4393, allocations: 5.062 MB / 0.6066 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4394, allocations: 0 / 0.6066 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4394, allocations: 0 / 0.6066 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.4394, allocations: 0 / 0.6066 GB, free: 3.672 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005397/0.4448, allocations: 1.656 MB / 0.6082 GB, free: 1.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.4449, allocations: 8.031 kB / 0.6082 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.4451, allocations: 110.7 kB / 0.6083 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.448, allocations: 380 kB / 0.6087 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4491, allocations: 0.5487 MB / 0.6092 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.4493, allocations: 113.3 kB / 0.6093 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4494, allocations: 63.92 kB / 0.6094 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.4523, allocations: 1.126 MB / 0.6105 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4523, allocations: 4 kB / 0.6105 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.4524, allocations: 27.98 kB / 0.6105 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.4525, allocations: 29.3 kB / 0.6106 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.4553, allocations: 1.055 MB / 0.6116 GB, free: 14.39 MB / 478.1 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.007638/0.463, allocations: 5.013 MB / 0.6165 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.4658, allocations: 0.9129 MB / 0.6174 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.4666, allocations: 377.9 kB / 0.6177 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05383/0.5205, allocations: 26.88 MB / 0.644 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.5206, allocations: 43 kB / 0.644 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.5206, allocations: 3.938 kB / 0.644 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.007181/0.5278, allocations: 1.97 MB / 0.646 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.5279, allocations: 115.2 kB / 0.6461 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.5287, allocations: 0.5965 MB / 0.6467 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.5288, allocations: 29.7 kB / 0.6467 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.5291, allocations: 328.3 kB / 0.647 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.5293, allocations: 166.6 kB / 0.6472 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5295, allocations: 134.3 kB / 0.6473 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5297, allocations: 374.7 kB / 0.6476 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.5305, allocations: 321.1 kB / 0.6479 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/0.5314, allocations: 486.8 kB / 0.6484 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.5329, allocations: 0.7474 MB / 0.6491 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5329, allocations: 0 / 0.6491 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002422/0.5354, allocations: 1.047 MB / 0.6502 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5354, allocations: 12.41 kB / 0.6502 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5354, allocations: 11.94 kB / 0.6502 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.5367, allocations: 421.3 kB / 0.6506 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.5371, allocations: 123.8 kB / 0.6507 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.5392, allocations: 1.62 MB / 0.6523 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.5398, allocations: 99.34 kB / 0.6524 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.5399, allocations: 31.98 kB / 0.6524 GB, free: 488 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.5403, allocations: 233.6 kB / 0.6526 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.5405, allocations: 67.58 kB / 0.6527 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/0.5452, allocations: 3.252 MB / 0.6559 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.5453, allocations: 43.92 kB / 0.6559 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5453, allocations: 4 kB / 0.6559 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5453, allocations: 3.984 kB / 0.6559 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.5473, allocations: 1.573 MB / 0.6575 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5473, allocations: 0 / 0.6575 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.5477, allocations: 83.88 kB / 0.6575 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.5492, allocations: 0.866 MB / 0.6584 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.5493, allocations: 11.98 kB / 0.6584 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.552, allocations: 2.295 MB / 0.6606 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.552, allocations: 0 / 0.6606 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.5556, allocations: 2.278 MB / 0.6629 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.5561, allocations: 311.5 kB / 0.6632 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.5563, allocations: 23.84 kB / 0.6632 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.5568, allocations: 47.95 kB / 0.6632 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.5569, allocations: 60.47 kB / 0.6633 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.557, allocations: 20 kB / 0.6633 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007036/0.5577, allocations: 0.5146 MB / 0.6638 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5577, allocations: 0 / 0.6638 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003096/0.5608, allocations: 1.181 MB / 0.665 GB, free: 3.438 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009225/0.5701, allocations: 3.829 MB / 0.6687 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002706/0.5728, allocations: 1.133 MB / 0.6698 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5728, allocations: 1.062 kB / 0.6698 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.5745, allocations: 0.8846 MB / 0.6707 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.5765, allocations: 376.8 kB / 0.671 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.5933, allocations: 8.455 MB / 0.6793 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.5942, allocations: 1.161 MB / 0.6804 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007893/0.595, allocations: 359.5 kB / 0.6808 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.5955, allocations: 411.3 kB / 0.6812 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.5955, allocations: 0 / 0.6812 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/0.9521, allocations: 61.42 MB / 0.7411 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.5, allocations: 6.156 kB / 0.7411 GB, free: 148.4 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches