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.002373/0.002373, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002979/0.002979, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.594/1.594, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.3541/0.3541, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.058e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.04058/0.04061, allocations: 28.75 MB / 406 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02088/0.06149, allocations: 13.08 MB / 419 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.06193, allocations: 15.81 kB / 419.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008605/0.06279, allocations: 234.4 kB / 419.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.07363, allocations: 3.697 MB / 423 MB, free: 4.973 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007541/0.08117, allocations: 2.391 MB / 425.4 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.08268, allocations: 0.9117 MB / 426.3 MB, free: 1.652 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.08313, allocations: 221 kB / 426.5 MB, free: 1.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.08422, allocations: 0.5529 MB / 427.1 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.08466, allocations: 243.3 kB / 427.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.08474, allocations: 32 kB / 427.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.1002, allocations: 6.906 MB / 434.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.1004, allocations: 103.6 kB / 434.3 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.1008, allocations: 159.7 kB / 434.5 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.1144, allocations: 5.566 MB / 440.1 MB, free: 3.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1144, allocations: 0 / 440.1 MB, free: 3.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1144, allocations: 0 / 440.1 MB, free: 3.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1144, allocations: 0 / 440.1 MB, free: 3.859 MB / 410.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.003751/0.1181, allocations: 1.291 MB / 441.3 MB, free: 2.527 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1182, allocations: 8.031 kB / 441.4 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.12, allocations: 307.6 kB / 441.7 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.1207, allocations: 327.3 kB / 442 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.1207, allocations: 25.03 kB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.1208, allocations: 36.38 kB / 442 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.1225, allocations: 0.7327 MB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1225, allocations: 4.125 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.1225, allocations: 27.92 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1226, allocations: 8 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.1241, allocations: 490.1 kB / 443.3 MB, free: 484 kB / 410.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.1585/0.2825, allocations: 2.417 MB / 445.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2838, allocations: 414.4 kB / 446.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.2841, allocations: 167.7 kB / 446.3 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04228/0.3263, allocations: 13.21 MB / 459.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3264, allocations: 40.33 kB / 459.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.3264, allocations: 4 kB / 459.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002412/0.3288, allocations: 0.7711 MB / 460.3 MB, free: 100.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3288, allocations: 110.4 kB / 460.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3291, allocations: 378 kB / 460.8 MB, free: 99.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3292, allocations: 36.77 kB / 460.8 MB, free: 99.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3293, allocations: 268.5 kB / 461.1 MB, free: 99.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.3294, allocations: 90.89 kB / 461.2 MB, free: 99.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3295, allocations: 88.89 kB / 461.2 MB, free: 99.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3296, allocations: 0.5256 MB / 461.8 MB, free: 99.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.3299, allocations: 117.8 kB / 461.9 MB, free: 99.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.3303, allocations: 312.5 kB / 462.2 MB, free: 98.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.3309, allocations: 358.3 kB / 462.5 MB, free: 98.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3309, allocations: 0 / 462.5 MB, free: 98.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007474/0.3316, allocations: 408.6 kB / 462.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3316, allocations: 9.562 kB / 462.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3316, allocations: 0 / 462.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.3317, allocations: 6.125 kB / 463 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3319, allocations: 72.48 kB / 463 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3319, allocations: 7.969 kB / 463 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3321, allocations: 39.27 kB / 463.1 MB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3322, allocations: 20 kB / 463.1 MB, free: 98.39 MB / 410.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: 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.0001424/0.3323, allocations: 202.7 kB / 463.3 MB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.3324, allocations: 43.56 kB / 463.3 MB, free: 98.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.3339, allocations: 1.307 MB / 464.6 MB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.3339, allocations: 27.66 kB / 464.7 MB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3339, allocations: 0 / 464.7 MB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3339, allocations: 10.36 kB / 464.7 MB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.3345, allocations: 0.7091 MB / 465.4 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3345, allocations: 0 / 465.4 MB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.3347, allocations: 68.66 kB / 465.4 MB, free: 97.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3347, allocations: 3.938 kB / 465.5 MB, free: 97.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3348, allocations: 7.469 kB / 465.5 MB, free: 97.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3348, allocations: 3.031 kB / 465.5 MB, free: 97.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3348, allocations: 0 / 465.5 MB, free: 97.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.3358, allocations: 0.9246 MB / 466.4 MB, free: 96.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.3358, allocations: 84.06 kB / 466.5 MB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.3359, allocations: 28.91 kB / 466.5 MB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3361, allocations: 16.17 kB / 466.5 MB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.3362, allocations: 38.61 kB / 466.6 MB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3362, allocations: 16.8 kB / 466.6 MB, free: 96.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3365, allocations: 347.1 kB / 466.9 MB, free: 96.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3365, allocations: 0 / 466.9 MB, free: 96.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002782/0.3393, allocations: 1.024 MB / 467.9 MB, free: 96.48 MB / 410.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: 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.004088/0.3433, allocations: 1.301 MB / 469.2 MB, free: 96.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3444, allocations: 443.4 kB / 469.7 MB, free: 96.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3444, allocations: 1.125 kB / 469.7 MB, free: 96.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.3449, allocations: 321.1 kB / 470 MB, free: 96.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.346, allocations: 211.8 kB / 470.2 MB, free: 95.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3478, allocations: 1.41 MB / 471.6 MB, free: 95.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3481, allocations: 372.8 kB / 472 MB, free: 95.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.3485, allocations: 260.7 kB / 472.2 MB, free: 95.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3486, allocations: 42 kB / 472.3 MB, free: 95.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3486, allocations: 3.938 kB / 472.3 MB, free: 95.1 MB / 410.7 MB Notification: Performance of Templates: time 0.04846/0.397, allocations: 40.23 MB / 0.5005 GB, free: 64.55 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/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.919117643032223]