Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.001094/0.001094, allocations: 84.34 kB / 20.67 MB, free: 3.887 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.001044/0.001044, 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.916/0.916, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.2234/0.2234, allocations: 34.85 MB / 295.6 MB, free: 500 kB / 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 444 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.202e-05, allocations: 5.234 kB / 444 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.1631/0.1631, allocations: 25.74 MB / 469.8 MB, free: 27.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.1701, allocations: 11.77 MB / 481.6 MB, free: 19.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1702, allocations: 14.31 kB / 481.6 MB, free: 19.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1707, allocations: 233.1 kB / 481.8 MB, free: 19.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.1747, allocations: 3.697 MB / 485.5 MB, free: 17.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.1774, allocations: 2.399 MB / 487.9 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.1778, allocations: 0.8996 MB / 488.8 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1781, allocations: 219.1 kB / 489 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.1785, allocations: 0.5388 MB / 489.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1787, allocations: 236 kB / 489.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.1788, allocations: 34.12 kB / 489.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007232/0.186, allocations: 6.915 MB / 496.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.1861, allocations: 106.5 kB / 496.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1862, allocations: 156.7 kB / 497 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.1916, allocations: 5.547 MB / 0.4907 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1916, allocations: 0 / 0.4907 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1916, allocations: 1.156 kB / 0.4908 GB, free: 12.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1916, allocations: 0 / 0.4908 GB, free: 12.31 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.001874/0.1935, allocations: 1.186 MB / 0.4919 GB, free: 11.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1936, allocations: 9.625 kB / 0.4919 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1936, allocations: 65.33 kB / 0.492 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.1946, allocations: 219.4 kB / 0.4922 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1949, allocations: 310.2 kB / 0.4925 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1949, allocations: 21.78 kB / 0.4925 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1949, allocations: 32.47 kB / 0.4925 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/0.1958, allocations: 0.7318 MB / 0.4933 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1958, allocations: 9.328 kB / 0.4933 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.1959, allocations: 11.91 kB / 0.4933 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1959, allocations: 12.09 kB / 0.4933 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.1967, allocations: 0.5245 MB / 0.4938 GB, free: 10.22 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.001493/0.1982, allocations: 1.898 MB / 0.4956 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.1991, allocations: 441.7 kB / 0.4961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1993, allocations: 177.8 kB / 0.4962 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/0.221, allocations: 13.2 MB / 0.5091 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.221, allocations: 38.56 kB / 0.5092 GB, free: 1.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.221, allocations: 7.984 kB / 0.5092 GB, free: 1.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.00143/0.2224, allocations: 0.7875 MB / 0.5099 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2224, allocations: 106.8 kB / 0.51 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2226, allocations: 320.4 kB / 0.5104 GB, free: 200 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2226, allocations: 33.7 kB / 0.5104 GB, free: 160 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.2227, allocations: 200.7 kB / 0.5106 GB, free: 15.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.2228, allocations: 83.28 kB / 0.5107 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2229, allocations: 73.64 kB / 0.5107 GB, free: 15.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.2229, allocations: 346.8 kB / 0.5111 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2232, allocations: 139.8 kB / 0.5112 GB, free: 15.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2234, allocations: 287.8 kB / 0.5115 GB, free: 14.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.2239, allocations: 362.6 kB / 0.5118 GB, free: 14.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2239, allocations: 0 / 0.5118 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005527/0.2244, allocations: 421 kB / 0.5122 GB, free: 14.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2244, allocations: 4 kB / 0.5122 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2245, allocations: 7.938 kB / 0.5122 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2245, allocations: 4 kB / 0.5122 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2247, allocations: 79.83 kB / 0.5123 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.2247, allocations: 12.05 kB / 0.5123 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2248, allocations: 51.78 kB / 0.5124 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2248, allocations: 15.98 kB / 0.5124 GB, free: 14 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: 5 (Opening.y,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.0001175/0.2249, allocations: 157.7 kB / 0.5125 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.225, allocations: 31.81 kB / 0.5126 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2265, allocations: 1.994 MB / 0.5145 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.2265, allocations: 27.95 kB / 0.5145 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2265, allocations: 3.938 kB / 0.5145 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2265, allocations: 7.922 kB / 0.5145 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.2271, allocations: 0.9646 MB / 0.5155 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2271, allocations: 4 kB / 0.5155 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2273, allocations: 63.94 kB / 0.5156 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2273, allocations: 0 / 0.5156 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.2273, allocations: 8 kB / 0.5156 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2273, allocations: 7.938 kB / 0.5156 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2273, allocations: 3.938 kB / 0.5156 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.2282, allocations: 1.119 MB / 0.5167 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.2283, allocations: 83.16 kB / 0.5167 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.2283, allocations: 23.84 kB / 0.5168 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2284, allocations: 27.97 kB / 0.5168 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.2285, allocations: 35.88 kB / 0.5168 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2285, allocations: 19.98 kB / 0.5168 GB, free: 9.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.2287, allocations: 323.1 kB / 0.5172 GB, free: 9.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2287, allocations: 3.938 kB / 0.5172 GB, free: 9.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002388/0.2311, allocations: 1.01 MB / 0.5181 GB, free: 8.016 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: 19 ($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,Opening.y) * 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.003808/0.2349, allocations: 2.862 MB / 0.5209 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.2356, allocations: 0.5982 MB / 0.5215 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2356, allocations: 0 / 0.5215 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.236, allocations: 421.6 kB / 0.5219 GB, free: 4.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.2367, allocations: 223 kB / 0.5221 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.2415, allocations: 4.979 MB / 0.527 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2417, allocations: 370.2 kB / 0.5274 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.242, allocations: 279.3 kB / 0.5276 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.2422, allocations: 260.4 kB / 0.5279 GB, free: 13.88 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2422, allocations: 0 / 0.5279 GB, free: 13.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/0.3675, allocations: 48.15 MB / 0.5749 GB, free: 13.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.75, allocations: 10.77 kB / 0.5749 GB, free: 13.93 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete.fmu) > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-euler.fmu) > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv --output-variables 'SourceP1.ports[1].m_flow' 'SourceP1.ports[1].p' 'SourceP1.ports[1].h_outflow' V1.port_b.m_flow V1.port_b.p V1.port_b.h_outflow 'SinkP1.ports[1].m_flow' 'SinkP1.ports[1].p' 'SinkP1.ports[1].h_outflow' Opening.y downstreamPressure.y --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ../ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete.fmu) > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv: Error: Error opening file: ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,SourceP1.ports[1].m_flow,SourceP1.ports[1].p,SourceP1.ports[1].h_outflow,V1.port_b.m_flow,V1.port_b.p,V1.port_b.h_outflow,SinkP1.ports[1].m_flow,SinkP1.ports[1].p,SinkP1.ports[1].h_outflow,Opening.y,downstreamPressure.y Variables in the result: filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 13.52271709125489]