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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 114.4 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 222.8 kB / 23.01 MB, free: 5.062 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.404/1.404, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.2203/0.2203, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 67.91 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1203, allocations: 61.04 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2569/0.3772, allocations: 28.52 MB / 0.544 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.3926, allocations: 13.39 MB / 0.5571 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.3932, allocations: 17.69 kB / 0.5571 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.3941, allocations: 255.8 kB / 0.5573 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4058, allocations: 3.674 MB / 0.5609 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.4128, allocations: 2.377 MB / 0.5632 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.414, allocations: 0.9115 MB / 0.5641 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.4143, allocations: 213.4 kB / 0.5643 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.415, allocations: 453.6 kB / 0.5648 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.4154, allocations: 290.3 kB / 0.565 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.4155, allocations: 33.47 kB / 0.5651 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.4309, allocations: 7.249 MB / 0.5722 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4311, allocations: 109.6 kB / 0.5723 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.4314, allocations: 220.4 kB / 0.5725 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.4432, allocations: 4.422 MB / 0.5768 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4432, allocations: 1.656 kB / 0.5768 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4432, allocations: 0 / 0.5768 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4433, allocations: 0 / 0.5768 GB, free: 14.58 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.004153/0.4474, allocations: 1.197 MB / 0.578 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4474, allocations: 9.906 kB / 0.578 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.146e-05/0.4475, allocations: 68.69 kB / 0.578 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.4492, allocations: 209.1 kB / 0.5782 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.4499, allocations: 331.2 kB / 0.5785 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.4499, allocations: 26.84 kB / 0.5786 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.45, allocations: 30.34 kB / 0.5786 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.4516, allocations: 0.5921 MB / 0.5792 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4516, allocations: 0 / 0.5792 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.4516, allocations: 16.91 kB / 0.5792 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4516, allocations: 6.969 kB / 0.5792 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.4533, allocations: 0.5473 MB / 0.5797 GB, free: 12.62 MB / 430.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.003311/0.4566, allocations: 2.521 MB / 0.5822 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4581, allocations: 454.3 kB / 0.5826 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.4586, allocations: 185.5 kB / 0.5828 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04388/0.5025, allocations: 12.67 MB / 0.5952 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5025, allocations: 30.56 kB / 0.5952 GB, free: 2.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.5025, allocations: 0 / 0.5952 GB, free: 2.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003055/0.5056, allocations: 0.8286 MB / 0.596 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.5057, allocations: 106.8 kB / 0.5961 GB, free: 1.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.5061, allocations: 312.5 kB / 0.5964 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.5061, allocations: 29.7 kB / 0.5964 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5063, allocations: 212.5 kB / 0.5967 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/0.5064, allocations: 87.2 kB / 0.5967 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.5065, allocations: 77.58 kB / 0.5968 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.5067, allocations: 346.8 kB / 0.5971 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.5071, allocations: 143.9 kB / 0.5973 GB, free: 388 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.5076, allocations: 246.9 kB / 0.5975 GB, free: 100 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009348/0.5086, allocations: 381.1 kB / 0.5979 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5086, allocations: 0 / 0.5979 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001235/0.5098, allocations: 444.5 kB / 0.5983 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5098, allocations: 11.94 kB / 0.5983 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5098, allocations: 4 kB / 0.5983 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.5098, allocations: 7.938 kB / 0.5983 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.5102, allocations: 84.88 kB / 0.5984 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5102, allocations: 7.984 kB / 0.5984 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.5105, allocations: 55.89 kB / 0.5985 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5106, allocations: 16 kB / 0.5985 GB, free: 15.07 MB / 446.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.0002059/0.5108, allocations: 157.8 kB / 0.5986 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.5108, allocations: 31.81 kB / 0.5987 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.5136, allocations: 1.993 MB / 0.6006 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/0.5136, allocations: 39.88 kB / 0.6006 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5136, allocations: 4 kB / 0.6006 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5136, allocations: 0 / 0.6006 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5148, allocations: 1.011 MB / 0.6016 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5148, allocations: 0 / 0.6016 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.5152, allocations: 80.67 kB / 0.6017 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5152, allocations: 0 / 0.6017 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.5152, allocations: 8 kB / 0.6017 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5152, allocations: 3.938 kB / 0.6017 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5152, allocations: 7.938 kB / 0.6017 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5169, allocations: 1.132 MB / 0.6028 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.517, allocations: 95.05 kB / 0.6029 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.5171, allocations: 23.84 kB / 0.603 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.5174, allocations: 39.83 kB / 0.603 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.5175, allocations: 31.94 kB / 0.603 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.5175, allocations: 12 kB / 0.603 GB, free: 10.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003811/0.5179, allocations: 327.1 kB / 0.6033 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5179, allocations: 0 / 0.6033 GB, free: 10.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003732/0.5216, allocations: 1.002 MB / 0.6043 GB, free: 9.008 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: 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.007813/0.5294, allocations: 2.747 MB / 0.607 GB, free: 6.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.5308, allocations: 0.6069 MB / 0.6076 GB, free: 5.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5308, allocations: 4 kB / 0.6076 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.5315, allocations: 425 kB / 0.608 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5327, allocations: 229.2 kB / 0.6082 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/0.5421, allocations: 5.075 MB / 0.6132 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.5427, allocations: 0.9716 MB / 0.6141 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.5432, allocations: 270.1 kB / 0.6144 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.5435, allocations: 255.3 kB / 0.6146 GB, free: 14.27 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5435, allocations: 0 / 0.6146 GB, free: 14.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09764/0.6411, allocations: 47.73 MB / 0.6612 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.79, allocations: 7.812 kB / 0.6613 GB, free: 14.48 MB / 0.4981 GB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.27026049187407]