Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001526/0.001526, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.001749/0.001749, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.553/1.553, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 46.92 MB / 357.8 MB, free: 10.34 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+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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1526, allocations: 65.99 MB / 0.5565 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0344/0.187, allocations: 28.44 MB / 0.5843 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3442/0.5312, allocations: 13.33 MB / 0.5973 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.5318, allocations: 16.16 kB / 0.5973 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.5327, allocations: 256.5 kB / 0.5976 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.5454, allocations: 3.672 MB / 0.6012 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008183/0.5536, allocations: 2.38 MB / 0.6035 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.5554, allocations: 0.8973 MB / 0.6044 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.5559, allocations: 230.8 kB / 0.6046 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.5569, allocations: 447.4 kB / 0.605 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.5574, allocations: 288.2 kB / 0.6053 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.5574, allocations: 33.25 kB / 0.6053 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.5774, allocations: 7.247 MB / 0.6124 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.5777, allocations: 107.8 kB / 0.6125 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.5783, allocations: 225.2 kB / 0.6127 GB, free: 4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.5947, allocations: 4.428 MB / 0.617 GB, free: 2.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5948, allocations: 1.062 kB / 0.617 GB, free: 2.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5948, allocations: 0 / 0.617 GB, free: 2.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5948, allocations: 4 kB / 0.617 GB, free: 2.77 MB / 446.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.005209/0.6, allocations: 1.283 MB / 0.6183 GB, free: 1.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6, allocations: 9.688 kB / 0.6183 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.6018, allocations: 213.3 kB / 0.6185 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.6025, allocations: 382.7 kB / 0.6189 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.6025, allocations: 27.97 kB / 0.6189 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.6026, allocations: 36.12 kB / 0.6189 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.6042, allocations: 0.5881 MB / 0.6195 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6042, allocations: 3.938 kB / 0.6195 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.6043, allocations: 14.81 kB / 0.6195 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6043, allocations: 7.844 kB / 0.6195 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.606, allocations: 0.5466 MB / 0.6201 GB, free: 1.008 MB / 446.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.003226/0.6092, allocations: 2.627 MB / 0.6226 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.611, allocations: 446.5 kB / 0.623 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.6115, allocations: 189.3 kB / 0.6232 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05795/0.6695, allocations: 26.88 MB / 0.6495 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.6695, allocations: 38.5 kB / 0.6495 GB, free: 5.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.6695, allocations: 0 / 0.6495 GB, free: 5.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003343/0.6729, allocations: 0.8138 MB / 0.6503 GB, free: 5.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.673, allocations: 118.7 kB / 0.6504 GB, free: 4.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.6734, allocations: 312.5 kB / 0.6507 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.6735, allocations: 33.7 kB / 0.6508 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.6737, allocations: 200.6 kB / 0.6509 GB, free: 4.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.6738, allocations: 86.17 kB / 0.651 GB, free: 4.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.6739, allocations: 73.64 kB / 0.6511 GB, free: 4.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.6741, allocations: 342.8 kB / 0.6514 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.6745, allocations: 157.3 kB / 0.6516 GB, free: 3.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.6751, allocations: 248.4 kB / 0.6518 GB, free: 3.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.6761, allocations: 381.2 kB / 0.6522 GB, free: 2.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6761, allocations: 0 / 0.6522 GB, free: 2.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001263/0.6773, allocations: 441 kB / 0.6526 GB, free: 2.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6774, allocations: 8 kB / 0.6526 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.6774, allocations: 0 / 0.6526 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.6774, allocations: 4 kB / 0.6526 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.6778, allocations: 100.1 kB / 0.6527 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.6778, allocations: 4 kB / 0.6527 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.6782, allocations: 53.33 kB / 0.6528 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.6782, allocations: 16 kB / 0.6528 GB, free: 2.363 MB / 478.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.0002439/0.6785, allocations: 165.6 kB / 0.6529 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.6785, allocations: 35.81 kB / 0.653 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.6815, allocations: 1.911 MB / 0.6548 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-05/0.6815, allocations: 35.88 kB / 0.6549 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6815, allocations: 4.688 kB / 0.6549 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.6815, allocations: 0 / 0.6549 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.6828, allocations: 1.01 MB / 0.6559 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6828, allocations: 0 / 0.6559 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.6832, allocations: 87.8 kB / 0.6559 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.6832, allocations: 4 kB / 0.6559 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6832, allocations: 4 kB / 0.6559 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.6832, allocations: 7.75 kB / 0.656 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6832, allocations: 0 / 0.656 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.685, allocations: 1.106 MB / 0.657 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.6852, allocations: 176.2 kB / 0.6572 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.6852, allocations: 23.81 kB / 0.6572 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.6855, allocations: 35.91 kB / 0.6573 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.6856, allocations: 27.95 kB / 0.6573 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.6857, allocations: 12 kB / 0.6573 GB, free: 13.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.6861, allocations: 331.1 kB / 0.6576 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6861, allocations: 0 / 0.6576 GB, free: 13.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005034/0.6912, allocations: 1.01 MB / 0.6586 GB, free: 12.3 MB / 494.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.006647/0.6978, allocations: 1.173 MB / 0.6597 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.6994, allocations: 0.5943 MB / 0.6603 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6994, allocations: 0 / 0.6603 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.7002, allocations: 417.6 kB / 0.6607 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.7015, allocations: 227.2 kB / 0.6609 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.704, allocations: 1.562 MB / 0.6625 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.7048, allocations: 0.9599 MB / 0.6634 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.705, allocations: 43.44 kB / 0.6634 GB, free: 7.387 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/0.705, allocations: 0 / 0.6634 GB, free: 7.387 MB / 494.1 MB Notification: Performance of Templates: time 0.04344/0.7484, allocations: 24.19 MB / 0.6871 GB, free: 15.23 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.422980328003177]