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.0009098/0.0009098, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008344/0.0008344, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9074/0.9074, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.238/0.238, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.813e-06/1.813e-06, allocations: 3.938 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.351e-05, allocations: 2.281 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1859/0.1859, allocations: 25.76 MB / 467.9 MB, free: 28.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.1943, allocations: 11.78 MB / 479.7 MB, free: 20.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.1946, allocations: 13.66 kB / 479.7 MB, free: 20.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.1953, allocations: 235.5 kB / 480 MB, free: 20.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.2025, allocations: 3.693 MB / 483.6 MB, free: 18.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.2076, allocations: 2.386 MB / 486 MB, free: 17.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.2085, allocations: 0.9111 MB / 486.9 MB, free: 17.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.2088, allocations: 228.9 kB / 487.2 MB, free: 17.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000686/0.2095, allocations: 0.5492 MB / 487.7 MB, free: 16.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.2097, allocations: 231.8 kB / 487.9 MB, free: 16.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2098, allocations: 36.28 kB / 488 MB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.2204, allocations: 6.913 MB / 494.9 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.2206, allocations: 104.7 kB / 495 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.2209, allocations: 159.2 kB / 495.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.2328, allocations: 5.55 MB / 0.489 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2328, allocations: 0 / 0.489 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2328, allocations: 0 / 0.489 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2328, allocations: 0 / 0.489 GB, free: 13.41 MB / 410.7 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.004821/0.2376, allocations: 1.194 MB / 0.4901 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2377, allocations: 9.875 kB / 0.4901 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.2377, allocations: 68.02 kB / 0.4902 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.2387, allocations: 218.9 kB / 0.4904 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.2393, allocations: 315.4 kB / 0.4907 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2393, allocations: 25.59 kB / 0.4907 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2393, allocations: 32.47 kB / 0.4908 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.2403, allocations: 0.7441 MB / 0.4915 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2403, allocations: 9 kB / 0.4915 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.2403, allocations: 12.88 kB / 0.4915 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2404, allocations: 9.688 kB / 0.4915 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.2412, allocations: 0.5395 MB / 0.4921 GB, free: 11.55 MB / 410.7 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.001732/0.243, allocations: 1.907 MB / 0.4939 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/0.2439, allocations: 446.2 kB / 0.4943 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2441, allocations: 185.2 kB / 0.4945 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/0.2689, allocations: 13.21 MB / 0.5074 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2689, allocations: 30.56 kB / 0.5074 GB, free: 3.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.2689, allocations: 0 / 0.5074 GB, free: 3.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001616/0.2705, allocations: 0.8228 MB / 0.5082 GB, free: 2.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2705, allocations: 106.8 kB / 0.5083 GB, free: 2.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.2708, allocations: 317 kB / 0.5087 GB, free: 1.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2708, allocations: 25.7 kB / 0.5087 GB, free: 1.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.2709, allocations: 212.5 kB / 0.5089 GB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.2709, allocations: 87.23 kB / 0.509 GB, free: 1.578 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.271, allocations: 61.69 kB / 0.509 GB, free: 1.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.271, allocations: 346.8 kB / 0.5094 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2712, allocations: 157.2 kB / 0.5095 GB, free: 1.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2714, allocations: 299.6 kB / 0.5098 GB, free: 0.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.2719, allocations: 386.6 kB / 0.5102 GB, free: 264 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2719, allocations: 0 / 0.5102 GB, free: 264 kB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005958/0.2725, allocations: 448.9 kB / 0.5106 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2725, allocations: 4 kB / 0.5106 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2725, allocations: 4 kB / 0.5106 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2725, allocations: 4.312 kB / 0.5106 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2727, allocations: 95.86 kB / 0.5107 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2727, allocations: 9.344 kB / 0.5107 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2729, allocations: 47.75 kB / 0.5107 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2729, allocations: 16 kB / 0.5108 GB, free: 15.64 MB / 426.7 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.0001499/0.2731, allocations: 157.8 kB / 0.5109 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.2731, allocations: 35.77 kB / 0.5109 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.2747, allocations: 2.01 MB / 0.5129 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.2748, allocations: 31.94 kB / 0.5129 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2748, allocations: 0 / 0.5129 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2748, allocations: 3.938 kB / 0.5129 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.2755, allocations: 0.9572 MB / 0.5139 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2755, allocations: 0 / 0.5139 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2757, allocations: 79.86 kB / 0.5139 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2757, allocations: 4 kB / 0.514 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2757, allocations: 8 kB / 0.514 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2757, allocations: 0 / 0.514 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2757, allocations: 0 / 0.514 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.2767, allocations: 1.146 MB / 0.5151 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.2768, allocations: 87.16 kB / 0.5152 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.2768, allocations: 31.77 kB / 0.5152 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.277, allocations: 31.91 kB / 0.5152 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.2771, allocations: 39.12 kB / 0.5153 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2771, allocations: 12 kB / 0.5153 GB, free: 10.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2773, allocations: 335 kB / 0.5156 GB, free: 10.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2773, allocations: 0 / 0.5156 GB, free: 10.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0041/0.2814, allocations: 1.006 MB / 0.5166 GB, free: 9.598 MB / 426.7 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.00799/0.2894, allocations: 2.891 MB / 0.5194 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009303/0.2904, allocations: 0.6138 MB / 0.52 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2904, allocations: 0 / 0.52 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.2908, allocations: 429.6 kB / 0.5204 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.2915, allocations: 220.5 kB / 0.5206 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.299, allocations: 5.036 MB / 0.5255 GB, free: 252 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2992, allocations: 366.2 kB / 0.5259 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.2996, allocations: 283.5 kB / 0.5262 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.2998, allocations: 260.4 kB / 0.5264 GB, free: 15.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2998, allocations: 0 / 0.5264 GB, free: 15.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06116/0.361, allocations: 48.25 MB / 0.5735 GB, free: 15.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.466, allocations: 6.906 kB / 0.5735 GB, free: 15.3 MB / 490.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.794535624794662]