Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001287/0.001287, allocations: 84.62 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001383/0.001383, allocations: 168.5 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 32.81 MB / 293.5 MB, free: 8 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.934e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1858/0.1858, allocations: 25.75 MB / 465.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1991, allocations: 11.79 MB / 477.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.1996, allocations: 14 kB / 477.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.2004, allocations: 244 kB / 477.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.2116, allocations: 3.694 MB / 481.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007917/0.2195, allocations: 2.397 MB / 484 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2209, allocations: 0.9111 MB / 484.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2214, allocations: 218.5 kB / 485.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.2227, allocations: 0.5456 MB / 485.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.2234, allocations: 238.9 kB / 485.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2235, allocations: 33 kB / 485.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.237, allocations: 6.924 MB / 492.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2372, allocations: 103.6 kB / 492.9 MB, free: 5.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.2375, allocations: 159.7 kB / 493.1 MB, free: 5.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.2479, allocations: 5.55 MB / 498.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2479, allocations: 0 / 498.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2479, allocations: 0 / 498.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.248, allocations: 0 / 498.6 MB, free: 15.66 MB / 398.1 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.003427/0.2514, allocations: 1.192 MB / 499.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2514, allocations: 12.03 kB / 499.8 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.2533, allocations: 212.5 kB / 0.4883 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.2539, allocations: 312.5 kB / 0.4886 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.2539, allocations: 28.97 kB / 0.4887 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.254, allocations: 34.05 kB / 0.4887 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.2557, allocations: 0.7375 MB / 0.4894 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2557, allocations: 384 / 0.4894 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.2558, allocations: 19.92 kB / 0.4894 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2558, allocations: 8 kB / 0.4894 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2575, allocations: 0.541 MB / 0.49 GB, free: 12.43 MB / 398.1 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.002813/0.2603, allocations: 1.848 MB / 0.4918 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.262, allocations: 450.7 kB / 0.4922 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.2625, allocations: 188.7 kB / 0.4924 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04667/0.3091, allocations: 13.2 MB / 0.5053 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.3092, allocations: 38.56 kB / 0.5053 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.3092, allocations: 3.938 kB / 0.5053 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.002963/0.3121, allocations: 0.8112 MB / 0.5061 GB, free: 11.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.3122, allocations: 114.8 kB / 0.5062 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3125, allocations: 272.5 kB / 0.5065 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.3125, allocations: 33.64 kB / 0.5065 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3127, allocations: 216.4 kB / 0.5067 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.3128, allocations: 87.2 kB / 0.5068 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3129, allocations: 69.69 kB / 0.5069 GB, free: 10.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3131, allocations: 342.8 kB / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.3135, allocations: 151.9 kB / 0.5073 GB, free: 10.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.3141, allocations: 291.8 kB / 0.5076 GB, free: 10.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.315, allocations: 393.2 kB / 0.508 GB, free: 9.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.315, allocations: 0 / 0.508 GB, free: 9.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00111/0.3161, allocations: 433 kB / 0.5084 GB, free: 9.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3161, allocations: 8 kB / 0.5084 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3161, allocations: 0 / 0.5084 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3161, allocations: 4 kB / 0.5084 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.3165, allocations: 87.88 kB / 0.5085 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3165, allocations: 12.23 kB / 0.5085 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.3168, allocations: 55.75 kB / 0.5086 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3168, allocations: 12 kB / 0.5086 GB, free: 9.117 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.317, allocations: 165.6 kB / 0.5087 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.3171, allocations: 32.69 kB / 0.5088 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.3198, allocations: 2.003 MB / 0.5107 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/0.3198, allocations: 27.95 kB / 0.5107 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3198, allocations: 3.984 kB / 0.5107 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3199, allocations: 4 kB / 0.5107 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.3208, allocations: 0.868 MB / 0.5116 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3208, allocations: 6.172 kB / 0.5116 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.3212, allocations: 67.94 kB / 0.5117 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3212, allocations: 0 / 0.5117 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3212, allocations: 12 kB / 0.5117 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3212, allocations: 3.984 kB / 0.5117 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3212, allocations: 8 kB / 0.5117 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3229, allocations: 1.13 MB / 0.5128 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.323, allocations: 87.16 kB / 0.5129 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.3231, allocations: 27.81 kB / 0.5129 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.3233, allocations: 31.97 kB / 0.5129 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.3234, allocations: 31.94 kB / 0.513 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.3235, allocations: 12 kB / 0.513 GB, free: 4.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.3238, allocations: 303.1 kB / 0.5133 GB, free: 4.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3238, allocations: 0 / 0.5133 GB, free: 4.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002759/0.3266, allocations: 1.01 MB / 0.5142 GB, free: 3.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004321/0.3309, allocations: 1.31 MB / 0.5155 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3323, allocations: 0.6105 MB / 0.5161 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3323, allocations: 0 / 0.5161 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.333, allocations: 437.5 kB / 0.5165 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3341, allocations: 198 kB / 0.5167 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3363, allocations: 1.522 MB / 0.5182 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3366, allocations: 370.2 kB / 0.5186 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.3371, allocations: 269.8 kB / 0.5188 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3372, allocations: 40.5 kB / 0.5189 GB, free: 14.44 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3372, allocations: 0 / 0.5189 GB, free: 14.44 MB / 430.1 MB Notification: Performance of Templates: time 0.05654/0.3937, allocations: 39.41 MB / 0.5573 GB, free: 7.188 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.062706526368856]