Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00127/0.00127, allocations: 119 kB / 18.5 MB, free: 4.602 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.001267/0.001267, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.91 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.95 kB / 491.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 64.27 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03274/0.1485, allocations: 28.29 MB / 0.5706 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1652, allocations: 13.35 MB / 0.5837 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.1655, allocations: 7.938 kB / 0.5837 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007497/0.1663, allocations: 250.4 kB / 0.5839 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.1798, allocations: 3.671 MB / 0.5875 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009272/0.1891, allocations: 2.368 MB / 0.5898 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.1907, allocations: 0.9041 MB / 0.5907 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.1912, allocations: 220.8 kB / 0.5909 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1923, allocations: 450.2 kB / 0.5913 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.1928, allocations: 282.8 kB / 0.5916 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.1929, allocations: 40 kB / 0.5916 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.2072, allocations: 7.235 MB / 0.5987 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.2074, allocations: 111.5 kB / 0.5988 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.2078, allocations: 219 kB / 0.599 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009631/0.2175, allocations: 4.419 MB / 0.6033 GB, free: 6.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.2175, allocations: 4 kB / 0.6033 GB, free: 6.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2175, allocations: 0 / 0.6033 GB, free: 6.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.2175, allocations: 0 / 0.6033 GB, free: 6.152 MB / 462.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.003232/0.2207, allocations: 1.282 MB / 0.6046 GB, free: 4.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2208, allocations: 8.031 kB / 0.6046 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.97e-05/0.2208, allocations: 70.72 kB / 0.6047 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.2226, allocations: 208.5 kB / 0.6049 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.2232, allocations: 379.5 kB / 0.6052 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.2233, allocations: 29.03 kB / 0.6053 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.2233, allocations: 28.12 kB / 0.6053 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2249, allocations: 0.5939 MB / 0.6059 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2249, allocations: 0 / 0.6059 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.225, allocations: 16 kB / 0.6059 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.225, allocations: 8 kB / 0.6059 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.2267, allocations: 0.5445 MB / 0.6064 GB, free: 2.859 MB / 462.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.2423/0.469, allocations: 2.626 MB / 0.609 GB, free: 60.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.4711, allocations: 447 kB / 0.6094 GB, free: 60.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.4716, allocations: 186.3 kB / 0.6096 GB, free: 60.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04602/0.5176, allocations: 24.31 MB / 0.6333 GB, free: 45.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5177, allocations: 40.44 kB / 0.6334 GB, free: 44.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.983e-06/0.5177, allocations: 0 / 0.6334 GB, free: 44.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002815/0.5205, allocations: 0.8239 MB / 0.6342 GB, free: 44.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.5205, allocations: 105.2 kB / 0.6343 GB, free: 44.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.5209, allocations: 314.5 kB / 0.6346 GB, free: 44.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5209, allocations: 33.53 kB / 0.6346 GB, free: 44.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.521, allocations: 208.9 kB / 0.6348 GB, free: 44.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.521, allocations: 84.3 kB / 0.6349 GB, free: 44.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5212, allocations: 76.3 kB / 0.635 GB, free: 44.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.5212, allocations: 342.5 kB / 0.6353 GB, free: 43.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.5216, allocations: 149.6 kB / 0.6354 GB, free: 43.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.5221, allocations: 245.7 kB / 0.6357 GB, free: 43.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/0.5228, allocations: 370.5 kB / 0.636 GB, free: 43.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5228, allocations: 1.781 kB / 0.636 GB, free: 43.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009641/0.5238, allocations: 449 kB / 0.6364 GB, free: 43.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5238, allocations: 7.406 kB / 0.6365 GB, free: 43.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5238, allocations: 4.812 kB / 0.6365 GB, free: 43.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5238, allocations: 3.844 kB / 0.6365 GB, free: 43.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.5242, allocations: 84.44 kB / 0.6365 GB, free: 43.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5242, allocations: 19.41 kB / 0.6366 GB, free: 43.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.5245, allocations: 55.78 kB / 0.6366 GB, free: 42.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.5245, allocations: 16.38 kB / 0.6366 GB, free: 42.98 MB / 462.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.000145/0.5246, allocations: 161 kB / 0.6368 GB, free: 42.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5247, allocations: 33.69 kB / 0.6368 GB, free: 42.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.5269, allocations: 1.916 MB / 0.6387 GB, free: 41.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.527, allocations: 30.62 kB / 0.6387 GB, free: 41.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.527, allocations: 8.906 kB / 0.6387 GB, free: 41.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.527, allocations: 3.938 kB / 0.6387 GB, free: 41.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.5278, allocations: 1.02 MB / 0.6397 GB, free: 41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5278, allocations: 0 / 0.6397 GB, free: 41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.528, allocations: 75.02 kB / 0.6398 GB, free: 40.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5281, allocations: 0 / 0.6398 GB, free: 40.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.5281, allocations: 7.781 kB / 0.6398 GB, free: 40.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5281, allocations: 3.781 kB / 0.6398 GB, free: 40.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5281, allocations: 9.062 kB / 0.6398 GB, free: 40.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.5293, allocations: 1.109 MB / 0.6409 GB, free: 40.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5294, allocations: 171.4 kB / 0.6411 GB, free: 40.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.5295, allocations: 26.75 kB / 0.6411 GB, free: 40.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.5297, allocations: 27.09 kB / 0.6411 GB, free: 40.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.5298, allocations: 35.58 kB / 0.6411 GB, free: 40.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5298, allocations: 11.44 kB / 0.6412 GB, free: 40.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.5301, allocations: 329.2 kB / 0.6415 GB, free: 39.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5301, allocations: 1.641 kB / 0.6415 GB, free: 39.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002108/0.5322, allocations: 1.004 MB / 0.6425 GB, free: 39.77 MB / 462.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.005128/0.5373, allocations: 2.719 MB / 0.6451 GB, free: 38.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.5384, allocations: 0.5989 MB / 0.6457 GB, free: 38.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5384, allocations: 3.984 kB / 0.6457 GB, free: 38.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.5389, allocations: 408.9 kB / 0.6461 GB, free: 37.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5399, allocations: 226.3 kB / 0.6463 GB, free: 37.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.5468, allocations: 5.043 MB / 0.6512 GB, free: 32.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.5471, allocations: 0.9638 MB / 0.6522 GB, free: 31.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000577/0.5477, allocations: 280.5 kB / 0.6524 GB, free: 31.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.5481, allocations: 263.3 kB / 0.6527 GB, free: 30.81 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5481, allocations: 0 / 0.6527 GB, free: 30.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/0.6433, allocations: 46.8 MB / 0.6984 GB, free: 188 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.16, allocations: 8 kB / 0.6984 GB, free: 180 kB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 15.554643413051963]