Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001373/0.001373, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.001633/0.001633, allocations: 160 kB / 24.5 MB, free: 3.719 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.443/1.443, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.2056/0.2056, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 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: 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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 75.88 kB / 443.2 MB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3189, allocations: 66.05 MB / 0.4973 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02285/0.3418, allocations: 25.92 MB / 0.5226 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.3556, allocations: 11.77 MB / 0.5341 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.3559, allocations: 17.75 kB / 0.5341 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.3567, allocations: 235.2 kB / 0.5343 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.3678, allocations: 3.646 MB / 0.5379 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007469/0.3753, allocations: 2.352 MB / 0.5402 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.3767, allocations: 0.9082 MB / 0.5411 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.3771, allocations: 217.5 kB / 0.5413 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.3779, allocations: 439.5 kB / 0.5417 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.3783, allocations: 278.5 kB / 0.542 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3783, allocations: 32.53 kB / 0.542 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.3944, allocations: 6.904 MB / 0.5487 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.3947, allocations: 102 kB / 0.5488 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.3951, allocations: 190.1 kB / 0.549 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4091, allocations: 4.423 MB / 0.5533 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4091, allocations: 0 / 0.5533 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4091, allocations: 0 / 0.5533 GB, free: 10.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4091, allocations: 0 / 0.5533 GB, free: 10.77 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.005611/0.4147, allocations: 1.21 MB / 0.5545 GB, free: 9.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4147, allocations: 8.969 kB / 0.5545 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.4165, allocations: 210.9 kB / 0.5547 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.4172, allocations: 314.8 kB / 0.555 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4172, allocations: 27.22 kB / 0.5551 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.4173, allocations: 30.06 kB / 0.5551 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4191, allocations: 0.7535 MB / 0.5558 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4191, allocations: 5 kB / 0.5558 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.4192, allocations: 12.25 kB / 0.5558 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4192, allocations: 8.031 kB / 0.5558 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.4209, allocations: 0.5391 MB / 0.5564 GB, free: 8.676 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.003056/0.424, allocations: 1.865 MB / 0.5582 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4256, allocations: 446.2 kB / 0.5586 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.4261, allocations: 188.7 kB / 0.5588 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0496/0.4757, allocations: 13.2 MB / 0.5717 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.4758, allocations: 38.56 kB / 0.5717 GB, free: 9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/0.4758, allocations: 0 / 0.5717 GB, free: 9 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003345/0.4791, allocations: 0.8146 MB / 0.5725 GB, free: 8.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.4792, allocations: 110.8 kB / 0.5726 GB, free: 8.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.4796, allocations: 276.5 kB / 0.5729 GB, free: 7.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.4797, allocations: 29.7 kB / 0.5729 GB, free: 7.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4799, allocations: 220.4 kB / 0.5731 GB, free: 7.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.48, allocations: 87.25 kB / 0.5732 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.4801, allocations: 69.69 kB / 0.5733 GB, free: 7.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4803, allocations: 342.7 kB / 0.5736 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.4808, allocations: 151.9 kB / 0.5737 GB, free: 6.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.4814, allocations: 299.7 kB / 0.574 GB, free: 6.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.4824, allocations: 373.2 kB / 0.5744 GB, free: 6.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4824, allocations: 8 kB / 0.5744 GB, free: 6.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001281/0.4837, allocations: 444.9 kB / 0.5748 GB, free: 5.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4837, allocations: 4 kB / 0.5748 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4837, allocations: 4 kB / 0.5748 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4838, allocations: 4 kB / 0.5748 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.4841, allocations: 87.86 kB / 0.5749 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.4842, allocations: 7.938 kB / 0.5749 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.4846, allocations: 48.12 kB / 0.575 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.4846, allocations: 16 kB / 0.575 GB, free: 5.504 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.0002718/0.4849, allocations: 161.7 kB / 0.5751 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.485, allocations: 31.81 kB / 0.5752 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.4883, allocations: 2.013 MB / 0.5771 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/0.4883, allocations: 31.94 kB / 0.5772 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.4883, allocations: 7.938 kB / 0.5772 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4883, allocations: 4 kB / 0.5772 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.4897, allocations: 0.8602 MB / 0.578 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.4898, allocations: 3.984 kB / 0.578 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.4901, allocations: 71.88 kB / 0.5781 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.4901, allocations: 4 kB / 0.5781 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4902, allocations: 7.984 kB / 0.5781 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.4902, allocations: 4 kB / 0.5781 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4902, allocations: 4 kB / 0.5781 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.4922, allocations: 1.126 MB / 0.5792 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.4924, allocations: 95.09 kB / 0.5793 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4925, allocations: 31.77 kB / 0.5793 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.4929, allocations: 27.97 kB / 0.5794 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.493, allocations: 43.75 kB / 0.5794 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.493, allocations: 12 kB / 0.5794 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003994/0.4934, allocations: 307.1 kB / 0.5797 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4934, allocations: 0 / 0.5797 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004408/0.4978, allocations: 1.006 MB / 0.5807 GB, free: 15.59 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.00631/0.5041, allocations: 1.172 MB / 0.5818 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.5056, allocations: 0.6102 MB / 0.5824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5057, allocations: 0 / 0.5824 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.5064, allocations: 429.6 kB / 0.5828 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5076, allocations: 183.6 kB / 0.583 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.5099, allocations: 1.558 MB / 0.5845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.5103, allocations: 378.1 kB / 0.5849 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.5107, allocations: 272.4 kB / 0.5851 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5108, allocations: 44.48 kB / 0.5852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5108, allocations: 0 / 0.5852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05918/0.57, allocations: 39.33 MB / 0.6236 GB, free: 3.707 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.628441140986979]