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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 113.7 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 207.6 MB / 230.5 MB, free: 3.98 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3152/0.3152, allocations: 44.23 MB / 326.5 MB, free: 7.211 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002186/0.002186, allocations: 67.89 kB / 462.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2358, allocations: 60.98 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02559/0.2613, allocations: 28.32 MB / 0.5386 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.278, allocations: 13.34 MB / 0.5516 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.2783, allocations: 11.94 kB / 0.5516 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.279, allocations: 262.3 kB / 0.5518 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008983/0.288, allocations: 3.65 MB / 0.5554 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005994/0.294, allocations: 2.377 MB / 0.5577 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.2952, allocations: 0.8961 MB / 0.5586 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.2955, allocations: 224.7 kB / 0.5588 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.2963, allocations: 454.2 kB / 0.5592 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.2966, allocations: 278.8 kB / 0.5595 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.2967, allocations: 36 kB / 0.5595 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.3099, allocations: 7.235 MB / 0.5666 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3101, allocations: 103.7 kB / 0.5667 GB, free: 5.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.3104, allocations: 219 kB / 0.5669 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00809/0.3185, allocations: 4.419 MB / 0.5712 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3185, allocations: 0 / 0.5712 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3185, allocations: 4 kB / 0.5712 GB, free: 1.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3185, allocations: 0 / 0.5712 GB, free: 1.047 MB / 430.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.002716/0.3212, allocations: 1.275 MB / 0.5725 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3212, allocations: 15.89 kB / 0.5725 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.3213, allocations: 66.72 kB / 0.5726 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.323, allocations: 220.5 kB / 0.5728 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.3236, allocations: 383.5 kB / 0.5731 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3236, allocations: 21.03 kB / 0.5732 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3237, allocations: 36.12 kB / 0.5732 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3252, allocations: 0.5823 MB / 0.5738 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3253, allocations: 3.938 kB / 0.5738 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.3253, allocations: 15.94 kB / 0.5738 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3253, allocations: 8 kB / 0.5738 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3269, allocations: 0.5484 MB / 0.5743 GB, free: 13.74 MB / 446.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.003211/0.3302, allocations: 2.633 MB / 0.5769 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.3317, allocations: 446.1 kB / 0.5773 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.3322, allocations: 193.1 kB / 0.5775 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05177/0.384, allocations: 24.3 MB / 0.6012 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.384, allocations: 38.56 kB / 0.6013 GB, free: 15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.384, allocations: 0 / 0.6013 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003017/0.387, allocations: 0.827 MB / 0.6021 GB, free: 14.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.3871, allocations: 106.8 kB / 0.6022 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.3875, allocations: 312.5 kB / 0.6025 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3875, allocations: 29.7 kB / 0.6025 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3877, allocations: 208.5 kB / 0.6027 GB, free: 13.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.3878, allocations: 87.22 kB / 0.6028 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3879, allocations: 69.69 kB / 0.6029 GB, free: 13.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3881, allocations: 338.8 kB / 0.6032 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3885, allocations: 155.9 kB / 0.6033 GB, free: 12.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.389, allocations: 242.8 kB / 0.6036 GB, free: 12.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.3899, allocations: 377.9 kB / 0.6039 GB, free: 12.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3899, allocations: 0 / 0.6039 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001067/0.391, allocations: 448.9 kB / 0.6043 GB, free: 11.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.391, allocations: 4 kB / 0.6044 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.391, allocations: 4 kB / 0.6044 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.391, allocations: 7.938 kB / 0.6044 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.3914, allocations: 92.19 kB / 0.6044 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3914, allocations: 4 kB / 0.6045 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.3917, allocations: 59.67 kB / 0.6045 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3917, allocations: 12 kB / 0.6045 GB, free: 11.53 MB / 478.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.0001998/0.3919, allocations: 157.8 kB / 0.6047 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.392, allocations: 43.77 kB / 0.6047 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.3946, allocations: 1.913 MB / 0.6066 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/0.3947, allocations: 27.95 kB / 0.6066 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3947, allocations: 0 / 0.6066 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3947, allocations: 3.984 kB / 0.6066 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3958, allocations: 1.024 MB / 0.6076 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3958, allocations: 0 / 0.6076 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.3961, allocations: 87.86 kB / 0.6077 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3961, allocations: 0 / 0.6077 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3961, allocations: 11.94 kB / 0.6077 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3961, allocations: 0 / 0.6077 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3961, allocations: 0 / 0.6077 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.3978, allocations: 1.112 MB / 0.6088 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.3979, allocations: 160.3 kB / 0.6089 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.398, allocations: 31.72 kB / 0.609 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3983, allocations: 27.97 kB / 0.609 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3984, allocations: 39.89 kB / 0.609 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3984, allocations: 11.98 kB / 0.6091 GB, free: 6.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.3988, allocations: 323.1 kB / 0.6094 GB, free: 6.461 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3988, allocations: 4 kB / 0.6094 GB, free: 6.457 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002586/0.4014, allocations: 0.9982 MB / 0.6103 GB, free: 5.457 MB / 478.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.00564/0.407, allocations: 2.737 MB / 0.613 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4083, allocations: 0.6021 MB / 0.6136 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4083, allocations: 0 / 0.6136 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.409, allocations: 419.1 kB / 0.614 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4101, allocations: 219.6 kB / 0.6142 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.4182, allocations: 5.04 MB / 0.6191 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.4188, allocations: 0.9599 MB / 0.6201 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.4193, allocations: 278.8 kB / 0.6203 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.4196, allocations: 263.3 kB / 0.6206 GB, free: 10.76 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4196, allocations: 0 / 0.6206 GB, free: 10.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3034/0.7231, allocations: 46.77 MB / 0.6663 GB, free: 105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.66, allocations: 15.17 kB / 0.6663 GB, free: 105 MB / 0.4981 GB " [Timeout remaining time 647] (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 --stepSize=0.000599281 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.00029843999073]