Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.004322/0.004322, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001137/0.001137, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.257/1.257, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.2826/0.2826, allocations: 43.49 MB / 313.5 MB, free: 8.527 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.001292/0.001292, allocations: 63.91 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09424, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2/0.2942, allocations: 29 MB / 468.9 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3064, allocations: 14.27 MB / 483.2 MB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.3068, allocations: 9.844 kB / 483.2 MB, free: 25.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.3075, allocations: 216.2 kB / 483.4 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.3149, allocations: 2.923 MB / 486.3 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.3202, allocations: 1.975 MB / 488.3 MB, free: 22.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.3215, allocations: 1.134 MB / 489.5 MB, free: 22.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.3219, allocations: 220.2 kB / 489.7 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.3225, allocations: 397.5 kB / 490.1 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.3228, allocations: 274.6 kB / 490.3 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3229, allocations: 18.72 kB / 490.3 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.3365, allocations: 7.114 MB / 497.5 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3368, allocations: 82.14 kB / 497.5 MB, free: 20.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.3371, allocations: 211 kB / 497.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.3507, allocations: 4.406 MB / 0.4904 GB, free: 18.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3508, allocations: 1.281 kB / 0.4904 GB, free: 18.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3508, allocations: 3.938 kB / 0.4904 GB, free: 18.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3508, allocations: 0 / 0.4904 GB, free: 18.79 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00542/0.3562, allocations: 1.233 MB / 0.4916 GB, free: 18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3563, allocations: 8.688 kB / 0.4916 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.3564, allocations: 68.86 kB / 0.4917 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.3582, allocations: 221.4 kB / 0.4919 GB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.3587, allocations: 367.1 kB / 0.4922 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.3587, allocations: 26.34 kB / 0.4922 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.3588, allocations: 26.56 kB / 0.4923 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.3604, allocations: 0.5892 MB / 0.4928 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3604, allocations: 6.031 kB / 0.4929 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.3604, allocations: 11.69 kB / 0.4929 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3604, allocations: 12 kB / 0.4929 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.3622, allocations: 0.5494 MB / 0.4934 GB, free: 17.18 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.002884/0.365, allocations: 2.623 MB / 0.496 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.3666, allocations: 471.9 kB / 0.4964 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.367, allocations: 198.2 kB / 0.4966 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0439/0.4109, allocations: 24.21 MB / 0.5203 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.411, allocations: 35.91 kB / 0.5203 GB, free: 11.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.411, allocations: 0 / 0.5203 GB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002822/0.4139, allocations: 0.8206 MB / 0.5211 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.4139, allocations: 105 kB / 0.5212 GB, free: 11.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4143, allocations: 319.8 kB / 0.5215 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.4143, allocations: 31.48 kB / 0.5215 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4144, allocations: 203.1 kB / 0.5217 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.4145, allocations: 81.56 kB / 0.5218 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4146, allocations: 77.28 kB / 0.5219 GB, free: 10.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4147, allocations: 341.7 kB / 0.5222 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.4151, allocations: 156.6 kB / 0.5223 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.4156, allocations: 239 kB / 0.5226 GB, free: 9.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008156/0.4164, allocations: 379.2 kB / 0.5229 GB, free: 9.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4164, allocations: 0 / 0.5229 GB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009791/0.4174, allocations: 437.7 kB / 0.5234 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4174, allocations: 8 kB / 0.5234 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4175, allocations: 4 kB / 0.5234 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4175, allocations: 7.938 kB / 0.5234 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4178, allocations: 96.67 kB / 0.5235 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4178, allocations: 7.984 kB / 0.5235 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.4182, allocations: 55.66 kB / 0.5235 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.4182, allocations: 15.98 kB / 0.5235 GB, free: 8.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.4184, allocations: 161.7 kB / 0.5237 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.4185, allocations: 39.56 kB / 0.5237 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.4209, allocations: 1.92 MB / 0.5256 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/0.4209, allocations: 31.89 kB / 0.5256 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4209, allocations: 0 / 0.5256 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4209, allocations: 4.859 kB / 0.5256 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.4219, allocations: 1.014 MB / 0.5266 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4219, allocations: 0 / 0.5266 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.4223, allocations: 75.94 kB / 0.5267 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4223, allocations: 3.984 kB / 0.5267 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.4223, allocations: 8 kB / 0.5267 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4223, allocations: 8.438 kB / 0.5267 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4223, allocations: 0 / 0.5267 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.4238, allocations: 1.094 MB / 0.5278 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.424, allocations: 175.7 kB / 0.528 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.424, allocations: 30.81 kB / 0.528 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4244, allocations: 43.89 kB / 0.528 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.4245, allocations: 27.95 kB / 0.5281 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.4245, allocations: 12 kB / 0.5281 GB, free: 4.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000331/0.4248, allocations: 331.1 kB / 0.5284 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4248, allocations: 0 / 0.5284 GB, free: 3.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005079/0.4299, allocations: 0.9877 MB / 0.5293 GB, free: 2.695 MB / 398.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00942/0.4394, allocations: 2.734 MB / 0.532 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4407, allocations: 0.6184 MB / 0.5326 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4407, allocations: 0 / 0.5326 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.4414, allocations: 0.5219 MB / 0.5331 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4426, allocations: 203.9 kB / 0.5333 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.4517, allocations: 5.382 MB / 0.5386 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.4521, allocations: 0.9677 MB / 0.5395 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.4526, allocations: 286.4 kB / 0.5398 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.4529, allocations: 255.3 kB / 0.54 GB, free: 7.574 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4529, allocations: 0 / 0.54 GB, free: 7.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07804/0.5309, allocations: 45.92 MB / 0.5849 GB, free: 9.629 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.5311, allocations: 256.6 kB / 0.5851 GB, free: 9.371 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.837/4.369, allocations: 0 / 0.5851 GB, free: 9.371 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches