Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001779/0.001778, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4069/0.4069, allocations: 43.5 MB / 313.6 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001529, allocations: 70.55 kB / 382.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.3388/0.5012, allocations: 36.66 MB / 476.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.5217, allocations: 16.88 MB / 493.6 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.5231, allocations: 20.09 kB / 493.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.5248, allocations: 389.3 kB / 494 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.5384, allocations: 3.555 MB / 497.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.5486, allocations: 2.837 MB / 0.4887 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.5517, allocations: 1.81 MB / 0.4905 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.5532, allocations: 0.5269 MB / 0.491 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.5558, allocations: 0.7441 MB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.5577, allocations: 0.5985 MB / 0.4923 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.5582, allocations: 75.5 kB / 0.4924 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02281/0.581, allocations: 7.346 MB / 0.4995 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008748/0.582, allocations: 253.5 kB / 0.4998 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.5838, allocations: 429.2 kB / 0.5002 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.6063, allocations: 5.061 MB / 0.5051 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6063, allocations: 0 / 0.5051 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6063, allocations: 1 kB / 0.5051 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.6064, allocations: 0 / 0.5051 GB, free: 8.281 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007813/0.6142, allocations: 1.609 MB / 0.5067 GB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.6143, allocations: 13.73 kB / 0.5067 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003011/0.6146, allocations: 102 kB / 0.5068 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.6178, allocations: 368.6 kB / 0.5072 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.619, allocations: 0.5253 MB / 0.5077 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.6192, allocations: 115 kB / 0.5078 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6193, allocations: 61.34 kB / 0.5078 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.6224, allocations: 1.134 MB / 0.509 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.6225, allocations: 3.75 kB / 0.509 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6226, allocations: 34.92 kB / 0.509 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/0.6226, allocations: 32.95 kB / 0.509 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.6254, allocations: 1.051 MB / 0.5101 GB, free: 5.09 MB / 382.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.007257/0.6326, allocations: 5.01 MB / 0.5149 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.6354, allocations: 0.9212 MB / 0.5158 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.6362, allocations: 375.5 kB / 0.5162 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0535/0.6897, allocations: 24.23 MB / 0.5399 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/0.6898, allocations: 43 kB / 0.5399 GB, free: 7.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/0.6898, allocations: 0 / 0.5399 GB, free: 7.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007823/0.6977, allocations: 1.973 MB / 0.5418 GB, free: 5.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.6978, allocations: 111.2 kB / 0.5419 GB, free: 5.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6989, allocations: 0.5964 MB / 0.5425 GB, free: 5.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.699, allocations: 33.7 kB / 0.5425 GB, free: 5.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.6993, allocations: 323.6 kB / 0.5429 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.6995, allocations: 161.8 kB / 0.543 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.6998, allocations: 130.2 kB / 0.5431 GB, free: 4.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.7, allocations: 370.8 kB / 0.5435 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.7008, allocations: 325.1 kB / 0.5438 GB, free: 3.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/0.7016, allocations: 481.6 kB / 0.5443 GB, free: 3.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7032, allocations: 0.7396 MB / 0.545 GB, free: 2.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.7032, allocations: 4 kB / 0.545 GB, free: 2.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002446/0.7057, allocations: 1.047 MB / 0.546 GB, free: 1.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.7057, allocations: 8.406 kB / 0.546 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7057, allocations: 12 kB / 0.546 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.7069, allocations: 421.3 kB / 0.5464 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.7074, allocations: 119.8 kB / 0.5465 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.7095, allocations: 1.627 MB / 0.5481 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7106, allocations: 112.1 kB / 0.5482 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.7107, allocations: 27.98 kB / 0.5483 GB, free: 14.94 MB / 430.1 MB 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.0004815/0.7111, allocations: 233.6 kB / 0.5485 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.7114, allocations: 67.25 kB / 0.5486 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/0.7164, allocations: 3.268 MB / 0.5517 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.7164, allocations: 43.92 kB / 0.5518 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7165, allocations: 0 / 0.5518 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.7165, allocations: 3.984 kB / 0.5518 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.7186, allocations: 1.562 MB / 0.5533 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.7186, allocations: 0 / 0.5533 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.7189, allocations: 83.86 kB / 0.5534 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.7205, allocations: 0.8739 MB / 0.5542 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.7206, allocations: 19.98 kB / 0.5543 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.7234, allocations: 2.283 MB / 0.5565 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7234, allocations: 3.938 kB / 0.5565 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.7267, allocations: 2.277 MB / 0.5587 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.7272, allocations: 287 kB / 0.559 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.7275, allocations: 43.55 kB / 0.559 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.7282, allocations: 51.95 kB / 0.5591 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.7284, allocations: 64.47 kB / 0.5592 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.7285, allocations: 27.98 kB / 0.5592 GB, free: 3.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008334/0.7293, allocations: 0.5107 MB / 0.5597 GB, free: 3.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7293, allocations: 0 / 0.5597 GB, free: 3.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005793/0.7351, allocations: 1.167 MB / 0.5608 GB, free: 1.91 MB / 430.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: 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.01605/0.7512, allocations: 3.8 MB / 0.5645 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.7554, allocations: 1.204 MB / 0.5657 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.7555, allocations: 0 / 0.5657 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.7573, allocations: 0.877 MB / 0.5666 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.7599, allocations: 385.3 kB / 0.5669 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.7785, allocations: 9.149 MB / 0.5759 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009877/0.7795, allocations: 1.158 MB / 0.577 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009669/0.7805, allocations: 348.9 kB / 0.5773 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.7811, allocations: 407.3 kB / 0.5777 GB, free: 348 kB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7811, allocations: 0 / 0.5777 GB, free: 348 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/1.13, allocations: 60.74 MB / 0.637 GB, free: 151.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.13, allocations: 281.5 kB / 0.6373 GB, free: 151.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.181/6.312, allocations: 3 kB / 0.6373 GB, free: 151.1 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches