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.001311/0.001311, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002093/0.003403, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.001386/0.001386, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003242, allocations: 475.5 kB / 11.66 MB, free: 2.516 MB / 13.93 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.9402/0.9402, allocations: 177.1 MB / 189.5 MB, free: 3.621 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/1.08, allocations: 53.74 MB / 243.3 MB, free: 2.094 MB / 234.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.1465/0.1465, allocations: 34.87 MB / 278.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01944/0.1659, allocations: 13.24 MB / 292.1 MB, free: 1.586 MB / 282.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+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 293.4 MB, free: 372 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.003e-05, allocations: 2.312 kB / 293.4 MB, free: 368 kB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.01312/0.01314, allocations: 14.85 MB / 308.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.02239, allocations: 11.84 MB / 320 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.02255, allocations: 19.81 kB / 320.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.02287, allocations: 143 kB / 320.2 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.02765, allocations: 3.33 MB / 323.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.03086, allocations: 1.941 MB / 325.5 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1171/0.148, allocations: 0.9284 MB / 326.4 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1484, allocations: 219.8 kB / 326.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.1493, allocations: 0.5681 MB / 327.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.1496, allocations: 225.4 kB / 327.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.1497, allocations: 32.06 kB / 327.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.1604, allocations: 7.255 MB / 334.7 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1605, allocations: 80.98 kB / 334.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1606, allocations: 131.8 kB / 334.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.1649, allocations: 4.006 MB / 338.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.1649, allocations: 0 / 338.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1649, allocations: 4.938 kB / 338.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.165, allocations: 0 / 338.9 MB, free: 4.949 MB / 314.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.001614/0.1666, allocations: 1.19 MB / 340.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1666, allocations: 11.28 kB / 340.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.1667, allocations: 72.31 kB / 340.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1679, allocations: 334.3 kB / 340.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1682, allocations: 280.2 kB / 340.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1682, allocations: 23.41 kB / 340.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1683, allocations: 29.97 kB / 340.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.1691, allocations: 0.6764 MB / 341.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1691, allocations: 0.6562 kB / 341.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1692, allocations: 20.5 kB / 341.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1692, allocations: 6.844 kB / 341.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.1698, allocations: 328.6 kB / 341.9 MB, free: 3.637 MB / 314.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.001359/0.1712, allocations: 1.606 MB / 343.5 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.1717, allocations: 329.5 kB / 343.8 MB, free: 18.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.1718, allocations: 55.41 kB / 343.8 MB, free: 18.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/0.289, allocations: 72.59 MB / 416.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.289, allocations: 34.56 kB / 416.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.289, allocations: 0 / 416.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001037/0.2901, allocations: 0.5297 MB / 417 MB, free: 12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2901, allocations: 106.8 kB / 417.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2903, allocations: 283.7 kB / 417.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2903, allocations: 29.7 kB / 417.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.2904, allocations: 179.7 kB / 417.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.2904, allocations: 93.41 kB / 417.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2905, allocations: 59.86 kB / 417.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.2906, allocations: 346.3 kB / 418.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.2906, allocations: 47.95 kB / 418.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2907, allocations: 197.4 kB / 418.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.2909, allocations: 210.6 kB / 418.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2909, allocations: 0 / 418.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002156/0.2911, allocations: 234.7 kB / 418.7 MB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2911, allocations: 8 kB / 418.7 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2911, allocations: 4 kB / 418.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2912, allocations: 7.938 kB / 418.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2913, allocations: 86.97 kB / 418.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2913, allocations: 4 kB / 418.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2915, allocations: 45.28 kB / 418.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2915, allocations: 12 kB / 418.9 MB, free: 10.07 MB / 394.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_a.phase,V1.state_b.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 9.164e-05/0.2916, allocations: 136 kB / 419 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.2916, allocations: 31.91 kB / 419.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.2926, allocations: 1.112 MB / 420.2 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.2926, allocations: 35.94 kB / 420.2 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2926, allocations: 0 / 420.2 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2926, allocations: 0 / 420.2 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.2931, allocations: 0.6444 MB / 420.9 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2931, allocations: 0 / 420.9 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2932, allocations: 69.02 kB / 420.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2932, allocations: 0 / 420.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2932, allocations: 11.98 kB / 420.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2932, allocations: 0 / 420.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2932, allocations: 0 / 420.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2936, allocations: 0.6692 MB / 421.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2937, allocations: 95.05 kB / 421.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2937, allocations: 19.83 kB / 421.7 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2938, allocations: 15.98 kB / 421.7 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.2939, allocations: 35.94 kB / 421.8 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2939, allocations: 7.984 kB / 421.8 MB, free: 7.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.294, allocations: 167.9 kB / 421.9 MB, free: 7.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.294, allocations: 0 / 421.9 MB, free: 7.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001707/0.2957, allocations: 1.014 MB / 423 MB, free: 6.098 MB / 394.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.002471/0.2982, allocations: 1.876 MB / 424.8 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.2985, allocations: 252.7 kB / 425.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2985, allocations: 8 kB / 425.1 MB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2986, allocations: 205 kB / 425.3 MB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.2992, allocations: 246.4 kB / 425.5 MB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.3022, allocations: 3.201 MB / 428.7 MB, free: 500 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.3023, allocations: 177.5 kB / 428.9 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.3026, allocations: 268.5 kB / 429.2 MB, free: 44 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.303, allocations: 437.7 kB / 429.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.303, allocations: 0 / 429.6 MB, free: 15.62 MB / 410.7 MB Notification: FMU-only work: backend 0.0001074, simCode 0.00118, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/0.4314, allocations: 56.92 MB / 486.5 MB, free: 6.855 MB / 458.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.772/4.203, allocations: 23.17 kB / 486.5 MB, free: 6.84 MB / 458.7 MB " [Timeout remaining time 656] (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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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: "" (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000599281 ../ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_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: Could not read variable SourceP1.ports[1].m_flow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].m_flow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SourceP1.ports[1].p in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].p from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SourceP1.ports[1].h_outflow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].h_outflow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable V1.port_b.m_flow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.m_flow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable V1.port_b.p in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.p from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable V1.port_b.h_outflow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.h_outflow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SinkP1.ports[1].m_flow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].m_flow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SinkP1.ports[1].p in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].p from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SinkP1.ports[1].h_outflow in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].h_outflow from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable Opening.y in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable Opening.y from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable downstreamPressure.y in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable downstreamPressure.y from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! " [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:time,SinkP1.medium.MM,SinkP1.medium.R_s,SinkP1.medium.T,SinkP1.medium.T_degC filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.diff.mat", vars={"downstreamPressure.y", "Opening.y", "SinkP1.ports[1].h_outflow", "SinkP1.ports[1].p", "SinkP1.ports[1].m_flow", "V1.port_b.h_outflow", "V1.port_b.p", "V1.port_b.m_flow", "SourceP1.ports[1].h_outflow", "SourceP1.ports[1].p", "SourceP1.ports[1].m_flow"}, removeDescription=false) [Timeout 660] "Error: Could not read variable downstreamPressure.y in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.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-fmi3-cs-cvode.diff.ref.mat", vars={"downstreamPressure.y", "Opening.y", "SinkP1.ports[1].h_outflow", "SinkP1.ports[1].p", "SinkP1.ports[1].m_flow", "V1.port_b.h_outflow", "V1.port_b.p", "V1.port_b.m_flow", "SourceP1.ports[1].h_outflow", "SourceP1.ports[1].p", "SourceP1.ports[1].m_flow"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 7.438171664252877]