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.001237/0.001237, allocations: 109.6 kB / 20.43 MB, free: 4.602 MB / 13.93 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.001311/0.001311, allocations: 217.3 kB / 23.73 MB, free: 2.125 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.9356/0.9356, allocations: 230.7 MB / 257.6 MB, free: 9.363 MB / 202.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.1464/0.1464, allocations: 47.7 MB / 361.8 MB, free: 2.215 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",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 0.002677/0.002677, allocations: 107.8 kB / 0.4982 GB, free: 6.582 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.0928, allocations: 66.24 MB / 0.5629 GB, free: 4.207 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.1964/0.2892, allocations: 25.91 MB / 0.5882 GB, free: 15.99 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.2999, allocations: 11.76 MB / 0.5996 GB, free: 8.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.3002, allocations: 13.72 kB / 0.5997 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3008, allocations: 235 kB / 0.5999 GB, free: 8.168 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007975/0.3088, allocations: 3.644 MB / 0.6034 GB, free: 6.539 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.3137, allocations: 2.346 MB / 0.6057 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007914/0.3145, allocations: 0.9 MB / 0.6066 GB, free: 4.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.3148, allocations: 215.4 kB / 0.6068 GB, free: 4.164 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.3154, allocations: 441 kB / 0.6072 GB, free: 3.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3156, allocations: 269.5 kB / 0.6075 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.3156, allocations: 32.47 kB / 0.6075 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009771/0.3254, allocations: 6.908 MB / 0.6143 GB, free: 316 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3255, allocations: 102.6 kB / 0.6144 GB, free: 236 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3257, allocations: 189.8 kB / 0.6145 GB, free: 132 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006011/0.3317, allocations: 4.409 MB / 0.6189 GB, free: 13.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3317, allocations: 3.984 kB / 0.6189 GB, free: 13.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3317, allocations: 6.5 kB / 0.6189 GB, free: 13.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3317, allocations: 0 / 0.6189 GB, free: 13.32 MB / 458.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.00226/0.334, allocations: 1.194 MB / 0.62 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.334, allocations: 10.72 kB / 0.62 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.3341, allocations: 59.8 kB / 0.6201 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3351, allocations: 214.7 kB / 0.6203 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3355, allocations: 311.1 kB / 0.6206 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3355, allocations: 26.78 kB / 0.6206 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3356, allocations: 31.62 kB / 0.6207 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/0.3366, allocations: 0.7319 MB / 0.6214 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3366, allocations: 5.062 kB / 0.6214 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3366, allocations: 16.42 kB / 0.6214 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3366, allocations: 11 kB / 0.6214 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009216/0.3375, allocations: 0.5212 MB / 0.6219 GB, free: 11.2 MB / 458.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.001709/0.3393, allocations: 1.907 MB / 0.6238 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.3402, allocations: 446.1 kB / 0.6242 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.3404, allocations: 173.5 kB / 0.6244 GB, free: 8.922 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02201/0.3624, allocations: 13.21 MB / 0.6373 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3624, allocations: 30.56 kB / 0.6373 GB, free: 11.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 1.684e-06/0.3624, allocations: 0 / 0.6373 GB, free: 11.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001655/0.3641, allocations: 0.7936 MB / 0.6381 GB, free: 10.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3641, allocations: 110.8 kB / 0.6382 GB, free: 10.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3644, allocations: 312.4 kB / 0.6385 GB, free: 10.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3644, allocations: 33.7 kB / 0.6385 GB, free: 10.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3645, allocations: 204.6 kB / 0.6387 GB, free: 10.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.3645, allocations: 87.2 kB / 0.6388 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.3646, allocations: 73.55 kB / 0.6389 GB, free: 10 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.3647, allocations: 346.8 kB / 0.6392 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3649, allocations: 139.8 kB / 0.6393 GB, free: 9.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.3651, allocations: 286.3 kB / 0.6396 GB, free: 9.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.3658, allocations: 354 kB / 0.6399 GB, free: 8.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3658, allocations: 0 / 0.6399 GB, free: 8.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000532/0.3663, allocations: 436.8 kB / 0.6403 GB, free: 8.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3663, allocations: 8.25 kB / 0.6404 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3664, allocations: 11.94 kB / 0.6404 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3664, allocations: 7.938 kB / 0.6404 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3665, allocations: 79.88 kB / 0.6404 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3665, allocations: 4 kB / 0.6405 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3667, allocations: 51.69 kB / 0.6405 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3667, allocations: 16 kB / 0.6405 GB, free: 8.203 MB / 474.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.0001182/0.3668, allocations: 165.7 kB / 0.6407 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.3669, allocations: 35.77 kB / 0.6407 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3683, allocations: 1.975 MB / 0.6426 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.3683, allocations: 35.88 kB / 0.6427 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3683, allocations: 0 / 0.6427 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3683, allocations: 4 kB / 0.6427 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.3689, allocations: 0.9526 MB / 0.6436 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3689, allocations: 0 / 0.6436 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3691, allocations: 75.88 kB / 0.6437 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3691, allocations: 4 kB / 0.6437 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3691, allocations: 7.984 kB / 0.6437 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3691, allocations: 7.938 kB / 0.6437 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3691, allocations: 0 / 0.6437 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.3699, allocations: 1.116 MB / 0.6448 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.37, allocations: 95.09 kB / 0.6449 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.37, allocations: 19.84 kB / 0.6449 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3702, allocations: 28.78 kB / 0.6449 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.3702, allocations: 35.94 kB / 0.645 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3702, allocations: 8 kB / 0.645 GB, free: 3.559 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.3705, allocations: 323.1 kB / 0.6453 GB, free: 3.242 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 7.938 kB / 0.6453 GB, free: 3.234 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002101/0.3726, allocations: 1.006 MB / 0.6463 GB, free: 2.227 MB / 474.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.003784/0.3763, allocations: 2.73 MB / 0.6489 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.377, allocations: 0.595 MB / 0.6495 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.377, allocations: 0 / 0.6495 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.3773, allocations: 417 kB / 0.6499 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.3779, allocations: 216.4 kB / 0.6501 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.3826, allocations: 5.013 MB / 0.655 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3828, allocations: 366.2 kB / 0.6554 GB, free: 8.715 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.383, allocations: 277.1 kB / 0.6556 GB, free: 8.449 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3832, allocations: 255.3 kB / 0.6559 GB, free: 8.199 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3832, allocations: 0 / 0.6559 GB, free: 8.199 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.4901, allocations: 47.94 MB / 0.7027 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.596, allocations: 14.16 kB / 0.7027 GB, free: 8.445 MB / 0.5261 GB " [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.826301749795675]