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.001112/0.001112, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001273/0.001273, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9163/0.9163, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2459/0.2459, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..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.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.802e-05, allocations: 8.078 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01341/0.01343, allocations: 14.85 MB / 393.6 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02386, allocations: 11.88 MB / 405.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.02411, allocations: 15.81 kB / 405.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.0246, allocations: 139 kB / 405.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.03173, allocations: 3.707 MB / 409.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.03595, allocations: 2.074 MB / 411.4 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.03685, allocations: 0.9352 MB / 412.4 MB, free: 392 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.03718, allocations: 236.9 kB / 412.6 MB, free: 152 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.03786, allocations: 0.5456 MB / 413.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.03812, allocations: 239.3 kB / 413.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.03817, allocations: 32 kB / 413.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009761/0.04793, allocations: 6.781 MB / 420.2 MB, free: 8.547 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.04808, allocations: 103.6 kB / 420.3 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.04828, allocations: 159.7 kB / 420.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.0557, allocations: 5.242 MB / 425.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.0557, allocations: 0 / 425.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.05571, allocations: 0 / 425.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.05571, allocations: 0 / 425.7 MB, free: 3.035 MB / 394.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.002864/0.05858, allocations: 1.237 MB / 426.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.05862, allocations: 8.031 kB / 426.9 MB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.05977, allocations: 307.7 kB / 427.2 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.06017, allocations: 323.3 kB / 427.5 MB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.0602, allocations: 25.03 kB / 427.6 MB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.06023, allocations: 40.31 kB / 427.6 MB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.06111, allocations: 0.7022 MB / 428.3 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.06112, allocations: 192 / 428.3 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.06116, allocations: 19.94 kB / 428.3 MB, free: 232 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.06144, allocations: 11.98 kB / 428.3 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.06239, allocations: 375.3 kB / 428.7 MB, free: 15.85 MB / 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.002241/0.06463, allocations: 2.265 MB / 431 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.06536, allocations: 362.7 kB / 431.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.06547, allocations: 79.64 kB / 431.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1694/0.2348, allocations: 13.21 MB / 444.6 MB, free: 77.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2349, allocations: 38.33 kB / 444.6 MB, free: 77.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.2349, allocations: 0 / 444.6 MB, free: 77.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001599/0.2365, allocations: 0.5924 MB / 445.2 MB, free: 77.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2365, allocations: 109.6 kB / 445.3 MB, free: 77.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2367, allocations: 320.7 kB / 445.7 MB, free: 76.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.2367, allocations: 32.52 kB / 445.7 MB, free: 76.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.2368, allocations: 269.4 kB / 446 MB, free: 76.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.2369, allocations: 85.31 kB / 446 MB, free: 76.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.237, allocations: 79.11 kB / 446.1 MB, free: 76.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.237, allocations: 0.5172 MB / 446.6 MB, free: 76.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2371, allocations: 64.25 kB / 446.7 MB, free: 76.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2373, allocations: 242.6 kB / 446.9 MB, free: 75.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2375, allocations: 259.1 kB / 447.2 MB, free: 75.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2376, allocations: 2.938 kB / 447.2 MB, free: 75.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003958/0.2379, allocations: 299.3 kB / 447.5 MB, free: 75.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.238, allocations: 5.844 kB / 447.5 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.238, allocations: 2.875 kB / 447.5 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.238, allocations: 3.031 kB / 447.5 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2382, allocations: 85.33 kB / 447.6 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2382, allocations: 4.531 kB / 447.6 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2384, allocations: 39 kB / 447.6 MB, free: 75.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2384, allocations: 16.3 kB / 447.6 MB, free: 75.72 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 9.807e-05/0.2385, allocations: 176.5 kB / 447.8 MB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.2385, allocations: 42.03 kB / 447.8 MB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.2396, allocations: 1.234 MB / 449.1 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.2396, allocations: 28.67 kB / 449.1 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2396, allocations: 0.6875 kB / 449.1 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2397, allocations: 6.109 kB / 449.1 MB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.2402, allocations: 0.6677 MB / 449.8 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2402, allocations: 0 / 449.8 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.2403, allocations: 59.72 kB / 449.8 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2403, allocations: 3.406 kB / 449.8 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2404, allocations: 9.875 kB / 449.9 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2404, allocations: 4.188 kB / 449.9 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2404, allocations: 0 / 449.9 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.241, allocations: 0.823 MB / 450.7 MB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2411, allocations: 93.09 kB / 450.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.2412, allocations: 27.39 kB / 450.8 MB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2413, allocations: 16.06 kB / 450.8 MB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.2414, allocations: 39.94 kB / 450.9 MB, free: 74.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2414, allocations: 11.84 kB / 450.9 MB, free: 74.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.2416, allocations: 301.7 kB / 451.2 MB, free: 74.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2416, allocations: 0 / 451.2 MB, free: 74.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002045/0.2436, allocations: 1.013 MB / 452.2 MB, free: 74.69 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.003007/0.2466, allocations: 1.288 MB / 453.5 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.2471, allocations: 325.1 kB / 453.8 MB, free: 74.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2471, allocations: 0 / 453.8 MB, free: 74.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.2473, allocations: 255.6 kB / 454 MB, free: 74.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.2481, allocations: 221.1 kB / 454.2 MB, free: 74.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2497, allocations: 1.337 MB / 455.6 MB, free: 73.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.2498, allocations: 183.9 kB / 455.8 MB, free: 73.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.2501, allocations: 265.7 kB / 456 MB, free: 73.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.2502, allocations: 44.19 kB / 456.1 MB, free: 73.83 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.2502, allocations: 0 / 456.1 MB, free: 73.83 MB / 410.7 MB Notification: Performance of Templates: time 0.04642/0.2966, allocations: 46.45 MB / 0.4907 GB, free: 58.6 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.459997013676912]