Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.001237/0.001237, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001862/0.003099, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.001081/0.001081, allocations: 153.9 kB / 11.18 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002476, allocations: 476.2 kB / 11.64 MB, free: 2.531 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9211/0.9211, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.141/1.062, allocations: 49.5 MB / 220.5 MB, free: 5.289 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.34 MB / 253.6 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02049/0.1625, allocations: 12.29 MB / 265.9 MB, free: 7.855 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_3_2_3_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.593e-06/1.593e-06, allocations: 3.938 kB / 267.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.629e-05, allocations: 10.19 kB / 267.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.01818/0.01819, allocations: 14.72 MB / 281.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.03398, allocations: 11.84 MB / 293.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.03424, allocations: 11.88 kB / 293.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.03459, allocations: 146.9 kB / 293.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.04081, allocations: 3.33 MB / 297.2 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.04479, allocations: 1.933 MB / 299.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008519/0.04565, allocations: 0.9353 MB / 300 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.04595, allocations: 225 kB / 300.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.04667, allocations: 0.5615 MB / 300.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.04692, allocations: 231.3 kB / 301 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.04697, allocations: 32 kB / 301.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009029/0.056, allocations: 7.234 MB / 308.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.05609, allocations: 87.66 kB / 308.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.05622, allocations: 131.8 kB / 308.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.0618, allocations: 4 MB / 312.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.06181, allocations: 0 / 312.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.06181, allocations: 3.938 kB / 312.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.06182, allocations: 0 / 312.5 MB, free: 9.055 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.001736/0.06356, allocations: 1.18 MB / 313.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.06359, allocations: 8.031 kB / 313.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.06364, allocations: 70.67 kB / 313.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.06454, allocations: 335.9 kB / 314.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.06485, allocations: 280.5 kB / 314.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.06488, allocations: 29.03 kB / 314.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.06491, allocations: 28.38 kB / 314.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.06567, allocations: 0.6745 MB / 315.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.06568, allocations: 7.875 kB / 315.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.0657, allocations: 12 kB / 315.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.06571, allocations: 8 kB / 315.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.06628, allocations: 317.8 kB / 315.4 MB, free: 5.953 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.001782/0.06806, allocations: 1.6 MB / 317 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.0688, allocations: 342.1 kB / 317.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.06887, allocations: 56.78 kB / 317.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2348/0.3037, allocations: 72.49 MB / 389.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3037, allocations: 43 kB / 390 MB, free: 1.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3037, allocations: 0 / 390 MB, free: 1.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001061/0.3048, allocations: 0.519 MB / 390.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3048, allocations: 106.8 kB / 390.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.305, allocations: 287.4 kB / 390.9 MB, free: 408 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.305, allocations: 29.33 kB / 390.9 MB, free: 376 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3051, allocations: 180.3 kB / 391.1 MB, free: 248 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.3051, allocations: 89.97 kB / 391.2 MB, free: 180 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3051, allocations: 72.59 kB / 391.2 MB, free: 128 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.3052, allocations: 347 kB / 391.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.3053, allocations: 44.61 kB / 391.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3054, allocations: 201.7 kB / 391.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3056, allocations: 207.5 kB / 392 MB, free: 15.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3056, allocations: 4 kB / 392 MB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002245/0.3058, allocations: 226.2 kB / 392.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3058, allocations: 4.312 kB / 392.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3058, allocations: 11.94 kB / 392.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3058, allocations: 4 kB / 392.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.306, allocations: 81.39 kB / 392.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.306, allocations: 6.906 kB / 392.3 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3062, allocations: 46.47 kB / 392.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3062, allocations: 7.938 kB / 392.4 MB, free: 14.96 MB / 346.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.6e-05/0.3063, allocations: 135 kB / 392.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3063, allocations: 31.91 kB / 392.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.3071, allocations: 1.119 MB / 393.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.3072, allocations: 32.7 kB / 393.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3072, allocations: 4 kB / 393.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3072, allocations: 6.141 kB / 393.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3077, allocations: 0.6375 MB / 394.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3077, allocations: 5.25 kB / 394.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3078, allocations: 66.77 kB / 394.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3078, allocations: 4 kB / 394.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3078, allocations: 3.938 kB / 394.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3078, allocations: 3.938 kB / 394.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3078, allocations: 4 kB / 394.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.3083, allocations: 0.6548 MB / 395.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3083, allocations: 91.11 kB / 395.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3084, allocations: 26.69 kB / 395.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3085, allocations: 22.62 kB / 395.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.3085, allocations: 39.05 kB / 395.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3085, allocations: 7.375 kB / 395.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3086, allocations: 173.8 kB / 395.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3086, allocations: 0 / 395.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001761/0.3104, allocations: 0.9954 MB / 396.4 MB, free: 11.32 MB / 346.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.002808/0.3132, allocations: 1.905 MB / 398.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.3135, allocations: 263.1 kB / 398.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3135, allocations: 4 kB / 398.6 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3137, allocations: 198.3 kB / 398.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3142, allocations: 249.4 kB / 399 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3172, allocations: 3.182 MB / 402.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/0.3173, allocations: 177.5 kB / 402.4 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.3176, allocations: 268.8 kB / 402.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.318, allocations: 429.2 kB / 403.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.318, allocations: 0 / 403.1 MB, free: 5.297 MB / 346.7 MB Notification: FMU-only work: backend 0.0001296, simCode 0.001048, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/0.4528, allocations: 56.8 MB / 459.9 MB, free: 12.68 MB / 410.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.911/4.364, allocations: 15.23 kB / 459.9 MB, free: 12.67 MB / 410.7 MB " [Timeout remaining time 656] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete.fmu) > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-cvode.fmu) > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_OMSimulator-cs-euler.fmu) > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete.fmu) > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv: Error: Error opening file: ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].m_flow from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SourceP1.ports[1].p in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].p from file ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SourceP1.ports[1].h_outflow from file ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.m_flow from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable V1.port_b.p in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.p from file ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable V1.port_b.h_outflow from file ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].m_flow from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable SinkP1.ports[1].p in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].p from file ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable SinkP1.ports[1].h_outflow from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable Opening.y in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable Opening.y from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable downstreamPressure.y in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable downstreamPressure.y from file ModelicaTest_3.2.3_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,SinkP1.medium.T,SinkP1.medium.T_degC filterSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.4787606513127685]