Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001412/0.001412, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001527/0.001527, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 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 1.518/1.518, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2341/0.2341, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 75.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3512, allocations: 65.97 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03606/0.3872, allocations: 28.67 MB / 0.5892 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.4055, allocations: 13.38 MB / 0.6022 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.4059, allocations: 11.94 kB / 0.6023 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.4068, allocations: 254.3 kB / 0.6025 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.418, allocations: 3.677 MB / 0.6061 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.4249, allocations: 2.383 MB / 0.6084 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.4262, allocations: 0.9041 MB / 0.6093 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.4266, allocations: 204.7 kB / 0.6095 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008857/0.4275, allocations: 458.1 kB / 0.6099 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.4279, allocations: 290.8 kB / 0.6102 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.428, allocations: 36 kB / 0.6102 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/0.443, allocations: 7.25 MB / 0.6173 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.4433, allocations: 111.6 kB / 0.6174 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.4436, allocations: 219 kB / 0.6176 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.4554, allocations: 4.427 MB / 0.622 GB, free: 6.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4554, allocations: 3.938 kB / 0.622 GB, free: 6.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4554, allocations: 0 / 0.622 GB, free: 6.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.4554, allocations: 0 / 0.622 GB, free: 6.625 MB / 462.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.003573/0.459, allocations: 1.283 MB / 0.6232 GB, free: 5.289 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.459, allocations: 8.031 kB / 0.6232 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.4608, allocations: 212.5 kB / 0.6234 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.4614, allocations: 379.5 kB / 0.6238 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.4614, allocations: 29.03 kB / 0.6238 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.4615, allocations: 28.38 kB / 0.6239 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.4632, allocations: 0.59 MB / 0.6244 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4632, allocations: 4 kB / 0.6244 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.4632, allocations: 16 kB / 0.6244 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4632, allocations: 11.94 kB / 0.6245 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.465, allocations: 0.5406 MB / 0.625 GB, free: 3.41 MB / 462.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.003508/0.4685, allocations: 2.637 MB / 0.6276 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4702, allocations: 450.1 kB / 0.628 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.4707, allocations: 192.7 kB / 0.6282 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05638/0.5271, allocations: 26.87 MB / 0.6544 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.5271, allocations: 38.56 kB / 0.6545 GB, free: 1.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.5271, allocations: 0 / 0.6545 GB, free: 1.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=25): time 0.00311/0.5302, allocations: 0.817 MB / 0.6553 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.5303, allocations: 106.8 kB / 0.6554 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.5307, allocations: 316.5 kB / 0.6557 GB, free: 296 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.5308, allocations: 29.7 kB / 0.6557 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.5309, allocations: 216.4 kB / 0.6559 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5311, allocations: 87.42 kB / 0.656 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5312, allocations: 73.69 kB / 0.656 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5313, allocations: 342.8 kB / 0.6564 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.5318, allocations: 143.9 kB / 0.6565 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.5323, allocations: 243.8 kB / 0.6567 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.5332, allocations: 377.9 kB / 0.6571 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5332, allocations: 4 kB / 0.6571 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001151/0.5344, allocations: 449.1 kB / 0.6575 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5344, allocations: 8 kB / 0.6575 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5344, allocations: 0 / 0.6575 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5344, allocations: 7.75 kB / 0.6575 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.5348, allocations: 87.88 kB / 0.6576 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5348, allocations: 11.92 kB / 0.6576 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.5351, allocations: 55.81 kB / 0.6577 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.5352, allocations: 16 kB / 0.6577 GB, free: 14.08 MB / 0.4981 GB 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.0001945/0.5353, allocations: 157.8 kB / 0.6579 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.5354, allocations: 35.77 kB / 0.6579 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.5381, allocations: 1.917 MB / 0.6598 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.5381, allocations: 31.94 kB / 0.6598 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5382, allocations: 0 / 0.6598 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5382, allocations: 7.938 kB / 0.6598 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5393, allocations: 1.016 MB / 0.6608 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5393, allocations: 0 / 0.6608 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.5396, allocations: 75.92 kB / 0.6609 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5396, allocations: 0 / 0.6609 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5396, allocations: 11.94 kB / 0.6609 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.5396, allocations: 4 kB / 0.6609 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5396, allocations: 0 / 0.6609 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5413, allocations: 1.108 MB / 0.662 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.5415, allocations: 172.2 kB / 0.6621 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5416, allocations: 27.78 kB / 0.6622 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.5421, allocations: 27.95 kB / 0.6622 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.5422, allocations: 31.95 kB / 0.6622 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.5422, allocations: 12 kB / 0.6622 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004577/0.5427, allocations: 331.1 kB / 0.6625 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5427, allocations: 0 / 0.6625 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004285/0.547, allocations: 1.006 MB / 0.6635 GB, free: 8.016 MB / 0.4981 GB 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.004805/0.5518, allocations: 1.185 MB / 0.6647 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.5532, allocations: 0.5949 MB / 0.6653 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5532, allocations: 0 / 0.6653 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/0.5539, allocations: 413 kB / 0.6657 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5552, allocations: 230.3 kB / 0.6659 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.5576, allocations: 1.549 MB / 0.6674 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.5582, allocations: 0.9677 MB / 0.6683 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.5587, allocations: 266.8 kB / 0.6686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5588, allocations: 47.42 kB / 0.6686 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5588, allocations: 0 / 0.6686 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.06002/0.6188, allocations: 40.03 MB / 0.7077 GB, free: 10.74 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.761042368132621]