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.001596/0.001596, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.98 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09737, allocations: 62.45 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03442/0.1318, allocations: 36.49 MB / 0.5045 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2026/0.3345, allocations: 16.75 MB / 0.5209 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005671/0.3351, allocations: 15.56 kB / 0.5209 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3362, allocations: 426 kB / 0.5213 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.3478, allocations: 4.024 MB / 0.5252 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007709/0.3556, allocations: 3.155 MB / 0.5283 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.3577, allocations: 1.8 MB / 0.5301 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.3583, allocations: 0.5372 MB / 0.5306 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3595, allocations: 0.7494 MB / 0.5313 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.3602, allocations: 0.5765 MB / 0.5319 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3603, allocations: 72.03 kB / 0.532 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/0.3738, allocations: 7.298 MB / 0.5391 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.3742, allocations: 243.9 kB / 0.5393 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000593/0.3748, allocations: 432.2 kB / 0.5397 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.3857, allocations: 5.061 MB / 0.5447 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3857, allocations: 0 / 0.5447 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3857, allocations: 0 / 0.5447 GB, free: 1.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3858, allocations: 0 / 0.5447 GB, free: 1.816 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.003589/0.3894, allocations: 1.613 MB / 0.5462 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3894, allocations: 8.156 kB / 0.5463 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3895, allocations: 109.2 kB / 0.5464 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.3922, allocations: 372.8 kB / 0.5467 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.3929, allocations: 0.5215 MB / 0.5472 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.393, allocations: 114.3 kB / 0.5473 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.3931, allocations: 59.45 kB / 0.5474 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.3955, allocations: 1.135 MB / 0.5485 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3956, allocations: 3.938 kB / 0.5485 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.3957, allocations: 28 kB / 0.5485 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.3957, allocations: 37.23 kB / 0.5486 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.3983, allocations: 1.051 MB / 0.5496 GB, free: 13.93 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.006292/0.4046, allocations: 5.024 MB / 0.5545 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.4073, allocations: 0.921 MB / 0.5554 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.408, allocations: 377.9 kB / 0.5558 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05085/0.4589, allocations: 26.77 MB / 0.5819 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.459, allocations: 39 kB / 0.5819 GB, free: 9.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.459, allocations: 0 / 0.5819 GB, free: 9.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=47): time 0.00671/0.4657, allocations: 1.977 MB / 0.5839 GB, free: 7.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4658, allocations: 111.2 kB / 0.584 GB, free: 6.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.4666, allocations: 0.6002 MB / 0.5846 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.4666, allocations: 37.7 kB / 0.5846 GB, free: 6.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4669, allocations: 318.8 kB / 0.5849 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.467, allocations: 152.4 kB / 0.585 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4673, allocations: 130.2 kB / 0.5852 GB, free: 5.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4674, allocations: 374.8 kB / 0.5855 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.4681, allocations: 321.1 kB / 0.5858 GB, free: 4.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.4689, allocations: 489.6 kB / 0.5863 GB, free: 4.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4703, allocations: 0.7396 MB / 0.587 GB, free: 3.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4703, allocations: 4 kB / 0.587 GB, free: 3.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002161/0.4725, allocations: 1.044 MB / 0.588 GB, free: 2.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4725, allocations: 16.03 kB / 0.5881 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4725, allocations: 4.875 kB / 0.5881 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4737, allocations: 432.5 kB / 0.5885 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.4742, allocations: 119.8 kB / 0.5886 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.476, allocations: 1.627 MB / 0.5902 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.4767, allocations: 91.12 kB / 0.5903 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.4767, allocations: 31.98 kB / 0.5903 GB, free: 204 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.0003336/0.4771, allocations: 235.1 kB / 0.5905 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.4772, allocations: 63.25 kB / 0.5906 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.4814, allocations: 3.264 MB / 0.5938 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.4814, allocations: 43.92 kB / 0.5938 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4814, allocations: 0 / 0.5938 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4814, allocations: 0 / 0.5938 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.483, allocations: 1.567 MB / 0.5953 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.483, allocations: 0 / 0.5953 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.4833, allocations: 87.88 kB / 0.5954 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4846, allocations: 0.8702 MB / 0.5963 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.4847, allocations: 12 kB / 0.5963 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.487, allocations: 2.295 MB / 0.5985 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.487, allocations: 3.938 kB / 0.5985 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.49, allocations: 2.273 MB / 0.6008 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.4905, allocations: 298.9 kB / 0.601 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.4906, allocations: 27.78 kB / 0.6011 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.4911, allocations: 43.95 kB / 0.6011 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.4913, allocations: 64.47 kB / 0.6012 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.4913, allocations: 23.98 kB / 0.6012 GB, free: 4.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005994/0.492, allocations: 0.5107 MB / 0.6017 GB, free: 4.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.492, allocations: 4 kB / 0.6017 GB, free: 4.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003011/0.495, allocations: 1.163 MB / 0.6028 GB, free: 3.211 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.008244/0.5032, allocations: 3.813 MB / 0.6066 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.5062, allocations: 1.204 MB / 0.6077 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5062, allocations: 4 kB / 0.6077 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.5076, allocations: 0.877 MB / 0.6086 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5095, allocations: 382.8 kB / 0.609 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.5237, allocations: 8.681 MB / 0.6174 GB, free: 4.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.5244, allocations: 1.15 MB / 0.6186 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007838/0.5252, allocations: 353.2 kB / 0.6189 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.5257, allocations: 411.3 kB / 0.6193 GB, free: 2.219 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5257, allocations: 0 / 0.6193 GB, free: 2.219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09231/0.6181, allocations: 61.17 MB / 0.679 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.28, allocations: 23 kB / 0.679 GB, free: 5.207 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