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.001138/0.001137, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.00116/0.00116, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2314/0.2314, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001502/0.001502, allocations: 70.89 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.0352/0.1564, allocations: 36.32 MB / 476.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02233/0.1788, allocations: 16.77 MB / 493.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1801, allocations: 15.88 kB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1814, allocations: 421.4 kB / 494.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.1938, allocations: 4.014 MB / 498.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009492/0.2034, allocations: 3.151 MB / 0.4896 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.2061, allocations: 1.794 MB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/0.2068, allocations: 0.5275 MB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.208, allocations: 0.7512 MB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00072/0.2088, allocations: 0.5721 MB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.2089, allocations: 72 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.2242, allocations: 7.293 MB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.2246, allocations: 251.3 kB / 0.5005 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.2252, allocations: 422.2 kB / 0.501 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.237, allocations: 5.048 MB / 0.5059 GB, free: 9.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2371, allocations: 4 kB / 0.5059 GB, free: 9.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2371, allocations: 0 / 0.5059 GB, free: 9.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2371, allocations: 0 / 0.5059 GB, free: 9.184 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004622/0.2417, allocations: 1.606 MB / 0.5075 GB, free: 7.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2418, allocations: 11.89 kB / 0.5075 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.2419, allocations: 110.7 kB / 0.5076 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.2446, allocations: 367.6 kB / 0.5079 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.2455, allocations: 0.5211 MB / 0.5084 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.2456, allocations: 117.3 kB / 0.5085 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.2457, allocations: 55.94 kB / 0.5086 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.2483, allocations: 1.134 MB / 0.5097 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2483, allocations: 0 / 0.5097 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.2484, allocations: 24 kB / 0.5097 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.2484, allocations: 37.3 kB / 0.5098 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.251, allocations: 1.051 MB / 0.5108 GB, free: 3.996 MB / 398.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.006849/0.2578, allocations: 5.024 MB / 0.5157 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.2604, allocations: 0.9156 MB / 0.5166 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/0.2611, allocations: 381.9 kB / 0.517 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2799/0.541, allocations: 24.21 MB / 0.5406 GB, free: 85.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.5411, allocations: 38.84 kB / 0.5406 GB, free: 85.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.5411, allocations: 4 kB / 0.5406 GB, free: 85.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.006548/0.5477, allocations: 1.973 MB / 0.5426 GB, free: 85.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5478, allocations: 115.2 kB / 0.5427 GB, free: 84.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.5485, allocations: 0.5882 MB / 0.5432 GB, free: 84.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.5486, allocations: 38.7 kB / 0.5433 GB, free: 84.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.5488, allocations: 318.6 kB / 0.5436 GB, free: 84.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5489, allocations: 158.1 kB / 0.5437 GB, free: 84.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.5491, allocations: 133.4 kB / 0.5439 GB, free: 84.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5493, allocations: 379 kB / 0.5442 GB, free: 84.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/0.5499, allocations: 321.7 kB / 0.5445 GB, free: 84.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.5507, allocations: 484.7 kB / 0.545 GB, free: 84.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5521, allocations: 0.7414 MB / 0.5457 GB, free: 83.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5521, allocations: 1.219 kB / 0.5457 GB, free: 83.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002325/0.5544, allocations: 1.046 MB / 0.5467 GB, free: 83.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5544, allocations: 7.781 kB / 0.5467 GB, free: 83.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5545, allocations: 8.156 kB / 0.5468 GB, free: 83.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.5556, allocations: 427.2 kB / 0.5472 GB, free: 83.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.556, allocations: 117.9 kB / 0.5473 GB, free: 83.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.5575, allocations: 1.633 MB / 0.5489 GB, free: 81.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.5581, allocations: 89.91 kB / 0.549 GB, free: 81.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.5581, allocations: 31.95 kB / 0.549 GB, free: 81.67 MB / 414.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.0002842/0.5584, allocations: 244.7 kB / 0.5492 GB, free: 81.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5586, allocations: 63.59 kB / 0.5493 GB, free: 81.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.562, allocations: 3.249 MB / 0.5525 GB, free: 79.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.5621, allocations: 43.8 kB / 0.5525 GB, free: 79.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5621, allocations: 7.812 kB / 0.5525 GB, free: 79.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5621, allocations: 3.984 kB / 0.5525 GB, free: 79.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5633, allocations: 1.56 MB / 0.554 GB, free: 78.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5633, allocations: 0.5 kB / 0.554 GB, free: 78.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.5636, allocations: 83.03 kB / 0.5541 GB, free: 78.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.5648, allocations: 0.8734 MB / 0.555 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.5648, allocations: 15.7 kB / 0.555 GB, free: 78.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.5668, allocations: 2.291 MB / 0.5572 GB, free: 76.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5668, allocations: 0 / 0.5572 GB, free: 76.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.5693, allocations: 2.276 MB / 0.5594 GB, free: 74.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.5696, allocations: 295 kB / 0.5597 GB, free: 74.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5697, allocations: 27.75 kB / 0.5597 GB, free: 74.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.5702, allocations: 39.95 kB / 0.5598 GB, free: 74.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.5704, allocations: 75.47 kB / 0.5599 GB, free: 74.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.5704, allocations: 23.98 kB / 0.5599 GB, free: 74.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004965/0.5709, allocations: 0.5107 MB / 0.5604 GB, free: 73.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5709, allocations: 0 / 0.5604 GB, free: 73.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003109/0.574, allocations: 1.166 MB / 0.5615 GB, free: 72.48 MB / 414.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.007141/0.5812, allocations: 3.788 MB / 0.5652 GB, free: 68.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002736/0.584, allocations: 1.215 MB / 0.5664 GB, free: 67.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.584, allocations: 0 / 0.5664 GB, free: 67.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.5852, allocations: 0.8758 MB / 0.5673 GB, free: 66.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.587, allocations: 397.8 kB / 0.5676 GB, free: 66.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.6001, allocations: 8.654 MB / 0.5761 GB, free: 57.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.6007, allocations: 1.154 MB / 0.5772 GB, free: 56.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007463/0.6014, allocations: 348.8 kB / 0.5775 GB, free: 56.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.6019, allocations: 411.3 kB / 0.5779 GB, free: 55.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6019, allocations: 7.938 kB / 0.5779 GB, free: 55.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09071/0.6926, allocations: 61.1 MB / 0.6376 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.54, allocations: 5.031 kB / 0.6376 GB, free: 10.49 MB / 430.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches