Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001261/0.001261, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001397/0.001397, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 3.98 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 66.04 MB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03197/0.3603, allocations: 25.92 MB / 0.5859 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.3764, allocations: 11.78 MB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.3768, allocations: 19.81 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.3776, allocations: 226.5 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009702/0.3873, allocations: 3.646 MB / 0.6012 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006837/0.3941, allocations: 2.36 MB / 0.6035 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.3956, allocations: 0.908 MB / 0.6044 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.3961, allocations: 212.8 kB / 0.6046 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008489/0.3969, allocations: 454.1 kB / 0.605 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.3973, allocations: 282.8 kB / 0.6053 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.3974, allocations: 32 kB / 0.6053 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/0.4111, allocations: 7.192 MB / 0.6123 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.4113, allocations: 103.7 kB / 0.6124 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.4117, allocations: 183.2 kB / 0.6126 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4219, allocations: 4.427 MB / 0.6169 GB, free: 10.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4219, allocations: 0 / 0.6169 GB, free: 10.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4219, allocations: 0 / 0.6169 GB, free: 10.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.422, allocations: 4 kB / 0.6169 GB, free: 10.3 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.003487/0.4254, allocations: 1.203 MB / 0.6181 GB, free: 9.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4255, allocations: 12.03 kB / 0.6181 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.042e-05/0.4256, allocations: 66.73 kB / 0.6182 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.4273, allocations: 212.5 kB / 0.6184 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.4279, allocations: 317.2 kB / 0.6187 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.4279, allocations: 28.97 kB / 0.6187 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.428, allocations: 32.12 kB / 0.6188 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4297, allocations: 0.7369 MB / 0.6195 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4297, allocations: 7.938 kB / 0.6195 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.4297, allocations: 16 kB / 0.6195 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4297, allocations: 8 kB / 0.6195 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.4314, allocations: 0.5371 MB / 0.62 GB, free: 6.992 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.002979/0.4344, allocations: 1.914 MB / 0.6219 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.436, allocations: 446.2 kB / 0.6223 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.4365, allocations: 188.7 kB / 0.6225 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04687/0.4834, allocations: 13.2 MB / 0.6354 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.4834, allocations: 42.56 kB / 0.6354 GB, free: 7.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.4834, allocations: 0 / 0.6354 GB, free: 7.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003027/0.4864, allocations: 0.817 MB / 0.6362 GB, free: 6.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.4865, allocations: 106.8 kB / 0.6363 GB, free: 6.133 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.4869, allocations: 320.4 kB / 0.6366 GB, free: 5.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.487, allocations: 33.7 kB / 0.6367 GB, free: 5.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.4871, allocations: 208.5 kB / 0.6369 GB, free: 5.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.4872, allocations: 91.19 kB / 0.637 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4873, allocations: 69.69 kB / 0.637 GB, free: 5.406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4875, allocations: 338.8 kB / 0.6374 GB, free: 5.066 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.4879, allocations: 143.9 kB / 0.6375 GB, free: 4.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.4885, allocations: 307.1 kB / 0.6378 GB, free: 4.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.4893, allocations: 373.9 kB / 0.6381 GB, free: 4.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4893, allocations: 0 / 0.6381 GB, free: 4.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001101/0.4904, allocations: 457.1 kB / 0.6386 GB, free: 3.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4905, allocations: 4 kB / 0.6386 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4905, allocations: 4 kB / 0.6386 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4905, allocations: 7.938 kB / 0.6386 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.4908, allocations: 83.88 kB / 0.6387 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4909, allocations: 4 kB / 0.6387 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.4911, allocations: 47.75 kB / 0.6387 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.4912, allocations: 24.05 kB / 0.6387 GB, free: 3.555 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.0001864/0.4914, allocations: 157.7 kB / 0.6389 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.4914, allocations: 39.77 kB / 0.6389 GB, free: 3.352 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.4941, allocations: 1.995 MB / 0.6409 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/0.4941, allocations: 27.95 kB / 0.6409 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4942, allocations: 0 / 0.6409 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4942, allocations: 3.984 kB / 0.6409 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.4952, allocations: 0.9526 MB / 0.6418 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4952, allocations: 4 kB / 0.6418 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.4955, allocations: 79.86 kB / 0.6419 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4955, allocations: 0 / 0.6419 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4956, allocations: 11.94 kB / 0.6419 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4956, allocations: 3.938 kB / 0.6419 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4956, allocations: 0 / 0.6419 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4972, allocations: 1.139 MB / 0.6431 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4973, allocations: 91.14 kB / 0.6431 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.4974, allocations: 23.78 kB / 0.6432 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.4977, allocations: 31.97 kB / 0.6432 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4978, allocations: 35.94 kB / 0.6432 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.4978, allocations: 11.98 kB / 0.6432 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003846/0.4982, allocations: 331.1 kB / 0.6436 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4982, allocations: 4 kB / 0.6436 GB, free: 14.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003143/0.5013, allocations: 1.002 MB / 0.6445 GB, free: 13.54 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.006858/0.5082, allocations: 2.753 MB / 0.6472 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.5096, allocations: 0.6148 MB / 0.6478 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5096, allocations: 3.938 kB / 0.6478 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.5103, allocations: 424.9 kB / 0.6482 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5115, allocations: 222.4 kB / 0.6484 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.5202, allocations: 5.062 MB / 0.6534 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5205, allocations: 374.2 kB / 0.6537 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005014/0.521, allocations: 274.8 kB / 0.654 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/0.5214, allocations: 263.3 kB / 0.6543 GB, free: 3.387 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5214, allocations: 0 / 0.6543 GB, free: 3.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09657/0.618, allocations: 48.39 MB / 0.7015 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.57, allocations: 7.984 kB / 0.7015 GB, free: 3.262 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 17.110392835980747]