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.001803/0.001803, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002209/0.002209, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.429/1.429, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2268/0.2268, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.002274/0.002274, allocations: 75.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.3068/0.4448, allocations: 25.78 MB / 0.5413 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.4596, allocations: 11.78 MB / 0.5528 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.46, allocations: 14.84 kB / 0.5528 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.4608, allocations: 223.5 kB / 0.5531 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01202/0.4728, allocations: 3.631 MB / 0.5566 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008122/0.481, allocations: 2.35 MB / 0.5589 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4823, allocations: 0.9053 MB / 0.5598 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.4827, allocations: 216.6 kB / 0.56 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.4835, allocations: 438.2 kB / 0.5604 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.4839, allocations: 264.9 kB / 0.5607 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.484, allocations: 32.78 kB / 0.5607 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/0.499, allocations: 6.893 MB / 0.5674 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.4992, allocations: 107.9 kB / 0.5675 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.4995, allocations: 183.3 kB / 0.5677 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.5104, allocations: 4.408 MB / 0.572 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5104, allocations: 3.984 kB / 0.572 GB, free: 1.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5104, allocations: 0 / 0.572 GB, free: 1.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.5105, allocations: 5.094 kB / 0.572 GB, free: 1.559 MB / 414.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.003996/0.5144, allocations: 1.191 MB / 0.5732 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5145, allocations: 9.094 kB / 0.5732 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.5146, allocations: 64.48 kB / 0.5732 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.5162, allocations: 219.1 kB / 0.5735 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.5167, allocations: 319.3 kB / 0.5738 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.5168, allocations: 26.47 kB / 0.5738 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.5168, allocations: 35.06 kB / 0.5738 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.5185, allocations: 0.7449 MB / 0.5745 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5185, allocations: 1.188 kB / 0.5745 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.5186, allocations: 12.44 kB / 0.5746 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5186, allocations: 6.844 kB / 0.5746 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.5204, allocations: 0.5514 MB / 0.5751 GB, free: 15.41 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.003357/0.5237, allocations: 1.915 MB / 0.577 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5254, allocations: 456.7 kB / 0.5774 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.5259, allocations: 184.9 kB / 0.5776 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04634/0.5723, allocations: 12.72 MB / 0.59 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5723, allocations: 38.56 kB / 0.59 GB, free: 6.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.5723, allocations: 0 / 0.59 GB, free: 6.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003026/0.5754, allocations: 0.8208 MB / 0.5908 GB, free: 6.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.5754, allocations: 106.8 kB / 0.5909 GB, free: 5.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.5758, allocations: 316.5 kB / 0.5912 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.5758, allocations: 33.7 kB / 0.5913 GB, free: 5.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.576, allocations: 200.6 kB / 0.5915 GB, free: 5.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.5761, allocations: 95.2 kB / 0.5916 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.5762, allocations: 69.69 kB / 0.5916 GB, free: 5.195 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5764, allocations: 338.8 kB / 0.5919 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5768, allocations: 151.9 kB / 0.5921 GB, free: 4.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.5774, allocations: 296.3 kB / 0.5924 GB, free: 4.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.5783, allocations: 377.1 kB / 0.5927 GB, free: 3.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5783, allocations: 0 / 0.5927 GB, free: 3.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001116/0.5794, allocations: 451.4 kB / 0.5932 GB, free: 3.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5795, allocations: 11.98 kB / 0.5932 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5795, allocations: 4 kB / 0.5932 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.5795, allocations: 7.938 kB / 0.5932 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.5799, allocations: 88.19 kB / 0.5933 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5799, allocations: 4 kB / 0.5933 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.5802, allocations: 49.38 kB / 0.5933 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.5802, allocations: 19.98 kB / 0.5933 GB, free: 3.34 MB / 430.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.0001957/0.5804, allocations: 157.9 kB / 0.5935 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.5805, allocations: 35.77 kB / 0.5935 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.5834, allocations: 2.007 MB / 0.5955 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/0.5834, allocations: 31.89 kB / 0.5955 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5835, allocations: 0.875 kB / 0.5955 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.5835, allocations: 0 / 0.5955 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5846, allocations: 0.9604 MB / 0.5965 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5846, allocations: 0 / 0.5965 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.5849, allocations: 75.88 kB / 0.5965 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5849, allocations: 8 kB / 0.5965 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.585, allocations: 8.547 kB / 0.5965 GB, free: 0 / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.117e-05/0.585, allocations: 7.984 kB / 0.5966 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.585, allocations: 0 / 0.5966 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.5867, allocations: 1.128 MB / 0.5977 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5868, allocations: 94.61 kB / 0.5977 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.5869, allocations: 23.84 kB / 0.5978 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.5872, allocations: 27.91 kB / 0.5978 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5873, allocations: 35.94 kB / 0.5978 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5873, allocations: 15.92 kB / 0.5978 GB, free: 14.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000399/0.5877, allocations: 331.1 kB / 0.5982 GB, free: 14.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5877, allocations: 3.938 kB / 0.5982 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003457/0.5912, allocations: 1.006 MB / 0.5991 GB, free: 13.32 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.0073/0.5985, allocations: 2.742 MB / 0.6018 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.5999, allocations: 0.6178 MB / 0.6024 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5999, allocations: 0.625 kB / 0.6024 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007352/0.6006, allocations: 429 kB / 0.6028 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6018, allocations: 221.3 kB / 0.603 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009028/0.6109, allocations: 5.08 MB / 0.608 GB, free: 4.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.6112, allocations: 370.1 kB / 0.6084 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.6117, allocations: 272 kB / 0.6086 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.6121, allocations: 259.3 kB / 0.6089 GB, free: 3.191 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6121, allocations: 3.938 kB / 0.6089 GB, free: 3.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09317/0.7053, allocations: 48 MB / 0.6557 GB, free: 3.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.37, allocations: 11.89 kB / 0.6558 GB, free: 3.102 MB / 494.1 MB " [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: 17.927173597738147]