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.001326/0.001326, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 73.66 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1441, allocations: 62.45 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.3199/0.4641, allocations: 37.57 MB / 0.5048 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.487, allocations: 17.83 MB / 0.5223 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.488, allocations: 19.91 kB / 0.5223 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.4894, allocations: 381.4 kB / 0.5226 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01693/0.5063, allocations: 3.277 MB / 0.5258 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00995/0.5163, allocations: 2.668 MB / 0.5285 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.5197, allocations: 2.433 MB / 0.5308 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.5205, allocations: 481.4 kB / 0.5313 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.522, allocations: 0.6781 MB / 0.5319 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008882/0.5229, allocations: 0.588 MB / 0.5325 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.523, allocations: 43.66 kB / 0.5326 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.5398, allocations: 7.34 MB / 0.5397 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.5403, allocations: 224.8 kB / 0.5399 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.541, allocations: 395.8 kB / 0.5403 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.5547, allocations: 5.048 MB / 0.5453 GB, free: 2.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.5548, allocations: 0 / 0.5453 GB, free: 2.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5548, allocations: 0 / 0.5453 GB, free: 2.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5548, allocations: 0 / 0.5453 GB, free: 2.176 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.005425/0.5602, allocations: 1.605 MB / 0.5468 GB, free: 1.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5603, allocations: 10 kB / 0.5468 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.5604, allocations: 108.6 kB / 0.5469 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.5633, allocations: 368.9 kB / 0.5473 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.5642, allocations: 0.5297 MB / 0.5478 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5643, allocations: 105.5 kB / 0.5479 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.5644, allocations: 59.94 kB / 0.548 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.567, allocations: 1.137 MB / 0.5491 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5671, allocations: 0 / 0.5491 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.5672, allocations: 31.05 kB / 0.5491 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.5672, allocations: 33.31 kB / 0.5491 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.5698, allocations: 1.047 MB / 0.5502 GB, free: 13.84 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.006716/0.5766, allocations: 5.013 MB / 0.5551 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.5792, allocations: 0.9142 MB / 0.5559 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.5799, allocations: 379.6 kB / 0.5563 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04906/0.629, allocations: 26.78 MB / 0.5825 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.6291, allocations: 42.98 kB / 0.5825 GB, free: 8.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/0.6291, allocations: 0 / 0.5825 GB, free: 8.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=47): time 0.007654/0.6368, allocations: 1.977 MB / 0.5844 GB, free: 6.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.6369, allocations: 107.2 kB / 0.5845 GB, free: 6.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.638, allocations: 0.5964 MB / 0.5851 GB, free: 6.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/0.6381, allocations: 37.7 kB / 0.5851 GB, free: 6.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.6384, allocations: 322.7 kB / 0.5855 GB, free: 5.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.6386, allocations: 156.6 kB / 0.5856 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.6389, allocations: 130.2 kB / 0.5857 GB, free: 5.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6391, allocations: 370.8 kB / 0.5861 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.6399, allocations: 325.1 kB / 0.5864 GB, free: 4.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009344/0.6408, allocations: 489.6 kB / 0.5869 GB, free: 4.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.6423, allocations: 0.7396 MB / 0.5876 GB, free: 3.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.6424, allocations: 0 / 0.5876 GB, free: 3.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002349/0.6447, allocations: 1.047 MB / 0.5886 GB, free: 2.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6448, allocations: 11.94 kB / 0.5886 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6448, allocations: 4 kB / 0.5886 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.646, allocations: 436.8 kB / 0.589 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.6465, allocations: 111.9 kB / 0.5891 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6484, allocations: 1.635 MB / 0.5907 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000891/0.6493, allocations: 108.1 kB / 0.5908 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.6494, allocations: 27.98 kB / 0.5909 GB, free: 108 kB / 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.0006015/0.65, allocations: 230.5 kB / 0.5911 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.6503, allocations: 67.25 kB / 0.5912 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/0.6552, allocations: 3.264 MB / 0.5943 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/0.6553, allocations: 39.94 kB / 0.5944 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6553, allocations: 0 / 0.5944 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6553, allocations: 3.984 kB / 0.5944 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.6573, allocations: 1.573 MB / 0.5959 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.6573, allocations: 0 / 0.5959 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.6577, allocations: 83.88 kB / 0.596 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.6593, allocations: 0.8818 MB / 0.5969 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.6593, allocations: 19.98 kB / 0.5969 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.6619, allocations: 2.287 MB / 0.5991 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6619, allocations: 3.938 kB / 0.5991 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.6653, allocations: 2.269 MB / 0.6013 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.6658, allocations: 295 kB / 0.6016 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.666, allocations: 31.69 kB / 0.6016 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.6667, allocations: 63.88 kB / 0.6017 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.6668, allocations: 64.45 kB / 0.6018 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.6669, allocations: 16 kB / 0.6018 GB, free: 4.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007132/0.6676, allocations: 0.5224 MB / 0.6023 GB, free: 4.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6676, allocations: 0 / 0.6023 GB, free: 4.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004034/0.6717, allocations: 1.163 MB / 0.6034 GB, free: 3.098 MB / 446.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.01011/0.6818, allocations: 3.809 MB / 0.6071 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.6844, allocations: 1.125 MB / 0.6082 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6844, allocations: 4 kB / 0.6082 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.6861, allocations: 0.869 MB / 0.6091 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.6884, allocations: 365.8 kB / 0.6094 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.7047, allocations: 9.152 MB / 0.6184 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.7055, allocations: 1.158 MB / 0.6195 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007818/0.7063, allocations: 348.7 kB / 0.6198 GB, free: 2.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.7068, allocations: 411.3 kB / 0.6202 GB, free: 1.73 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7068, allocations: 0 / 0.6202 GB, free: 1.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09681/0.8036, allocations: 59.95 MB / 0.6788 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.8039, allocations: 279.2 kB / 0.679 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/5.897, allocations: 0 / 0.679 GB, free: 5.598 MB / 0.5137 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