Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 117.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 75.19 kB / 0.4912 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 65.98 MB / 0.5557 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03294/0.1492, allocations: 28.45 MB / 0.5835 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.1666, allocations: 13.35 MB / 0.5965 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.167, allocations: 7.938 kB / 0.5965 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.1679, allocations: 250.4 kB / 0.5967 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009582/0.1775, allocations: 3.673 MB / 0.6003 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006148/0.1836, allocations: 2.389 MB / 0.6027 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.185, allocations: 0.9002 MB / 0.6035 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.1854, allocations: 212.8 kB / 0.6037 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/0.1862, allocations: 454.2 kB / 0.6042 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.1865, allocations: 286.8 kB / 0.6045 GB, free: 7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.1866, allocations: 32 kB / 0.6045 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2928/0.4794, allocations: 7.238 MB / 0.6116 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.4798, allocations: 106.1 kB / 0.6117 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.4803, allocations: 221.2 kB / 0.6119 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.4938, allocations: 4.434 MB / 0.6162 GB, free: 10.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4938, allocations: 1.375 kB / 0.6162 GB, free: 10.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4938, allocations: 0 / 0.6162 GB, free: 10.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4938, allocations: 0 / 0.6162 GB, free: 10.28 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.005781/0.4996, allocations: 1.283 MB / 0.6175 GB, free: 9.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4996, allocations: 10.16 kB / 0.6175 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.072e-05/0.4997, allocations: 69.41 kB / 0.6175 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.5016, allocations: 208.5 kB / 0.6177 GB, free: 9.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.5022, allocations: 380.7 kB / 0.6181 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5022, allocations: 26.59 kB / 0.6181 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.5023, allocations: 26.5 kB / 0.6181 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5039, allocations: 0.5908 MB / 0.6187 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5039, allocations: 5.656 kB / 0.6187 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.504, allocations: 14.06 kB / 0.6187 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.504, allocations: 9.438 kB / 0.6187 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5057, allocations: 0.545 MB / 0.6193 GB, free: 9.109 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.002975/0.5087, allocations: 2.631 MB / 0.6218 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.5104, allocations: 457.8 kB / 0.6223 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.5108, allocations: 182.8 kB / 0.6225 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05442/0.5652, allocations: 26.88 MB / 0.6487 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5653, allocations: 35.09 kB / 0.6487 GB, free: 4.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.5653, allocations: 0 / 0.6487 GB, free: 4.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.00313/0.5684, allocations: 0.83 MB / 0.6496 GB, free: 4.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.5685, allocations: 106.9 kB / 0.6497 GB, free: 4.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.5689, allocations: 306.4 kB / 0.6499 GB, free: 4.691 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.569, allocations: 30.17 kB / 0.65 GB, free: 4.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.5691, allocations: 215.3 kB / 0.6502 GB, free: 4.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.5692, allocations: 89.62 kB / 0.6503 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.5693, allocations: 69.03 kB / 0.6503 GB, free: 4.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5694, allocations: 344.9 kB / 0.6507 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.5698, allocations: 146 kB / 0.6508 GB, free: 4.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.5703, allocations: 249.6 kB / 0.651 GB, free: 4.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.571, allocations: 377 kB / 0.6514 GB, free: 3.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.571, allocations: 4 kB / 0.6514 GB, free: 3.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009512/0.572, allocations: 450.7 kB / 0.6518 GB, free: 3.867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.572, allocations: 6.406 kB / 0.6518 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.572, allocations: 3.906 kB / 0.6518 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.572, allocations: 7.5 kB / 0.6518 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.5724, allocations: 85.38 kB / 0.6519 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5724, allocations: 10.19 kB / 0.6519 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.5727, allocations: 59.41 kB / 0.652 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.5727, allocations: 15.28 kB / 0.652 GB, free: 3.844 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.0002162/0.5729, allocations: 154.4 kB / 0.6522 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.573, allocations: 37.52 kB / 0.6522 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.5751, allocations: 1.915 MB / 0.6541 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.5752, allocations: 38.98 kB / 0.6541 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5752, allocations: 0 / 0.6541 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5752, allocations: 3.094 kB / 0.6541 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.576, allocations: 1.02 MB / 0.6551 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.576, allocations: 0 / 0.6551 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.5763, allocations: 79.14 kB / 0.6552 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5763, allocations: 0 / 0.6552 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.5763, allocations: 7 kB / 0.6552 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5764, allocations: 7.938 kB / 0.6552 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5764, allocations: 2.938 kB / 0.6552 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.5777, allocations: 1.102 MB / 0.6563 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5778, allocations: 168.8 kB / 0.6564 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.5779, allocations: 22.31 kB / 0.6564 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.5781, allocations: 35.64 kB / 0.6565 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.5782, allocations: 35.02 kB / 0.6565 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.5783, allocations: 7.062 kB / 0.6565 GB, free: 2.785 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.5787, allocations: 328.2 kB / 0.6568 GB, free: 18.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5787, allocations: 4 kB / 0.6568 GB, free: 18.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005024/0.5837, allocations: 1.01 MB / 0.6578 GB, free: 18.52 MB / 494.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.008144/0.5918, allocations: 2.742 MB / 0.6605 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.593, allocations: 0.5994 MB / 0.6611 GB, free: 17.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.593, allocations: 0 / 0.6611 GB, free: 17.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.5935, allocations: 412 kB / 0.6615 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5946, allocations: 220.5 kB / 0.6617 GB, free: 17.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.6029, allocations: 5.033 MB / 0.6666 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.6034, allocations: 0.9681 MB / 0.6676 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.6039, allocations: 284.7 kB / 0.6678 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.6041, allocations: 258.3 kB / 0.6681 GB, free: 13.75 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6041, allocations: 0 / 0.6681 GB, free: 13.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09097/0.6951, allocations: 46.88 MB / 0.7138 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.31, allocations: 18.56 kB / 0.7139 GB, free: 15.25 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.924010877031833]