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.001309/0.001309, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.00101/0.00101, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 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.9643/0.9643, allocations: 177 MB / 205.1 MB, free: 5.469 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.2555/0.2555, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.422e-06/1.422e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.693e-05, allocations: 3.297 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01242/0.01243, allocations: 14.7 MB / 393.9 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009687/0.02212, allocations: 11.67 MB / 405.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.02238, allocations: 15.88 kB / 405.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.02283, allocations: 135 kB / 405.7 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.02961, allocations: 3.72 MB / 409.5 MB, free: 3.492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.03348, allocations: 2.074 MB / 411.5 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008735/0.03436, allocations: 0.9352 MB / 412.5 MB, free: 480 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.03471, allocations: 229 kB / 412.7 MB, free: 248 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007882/0.0355, allocations: 0.5455 MB / 413.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.0358, allocations: 243.3 kB / 413.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.03585, allocations: 36 kB / 413.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.04494, allocations: 6.77 MB / 420.3 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.04506, allocations: 107.6 kB / 420.4 MB, free: 8.539 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.04521, allocations: 163.6 kB / 420.5 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007068/0.05228, allocations: 5.238 MB / 425.8 MB, free: 3.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.05228, allocations: 0 / 425.8 MB, free: 3.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05228, allocations: 3.938 kB / 425.8 MB, free: 3.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.05228, allocations: 0 / 425.8 MB, free: 3.125 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.002442/0.05473, allocations: 1.245 MB / 427 MB, free: 1.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.05477, allocations: 12.03 kB / 427 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.05571, allocations: 295.8 kB / 427.3 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.05606, allocations: 331.3 kB / 427.7 MB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.05609, allocations: 21.03 kB / 427.7 MB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.05612, allocations: 32.38 kB / 427.7 MB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.05693, allocations: 0.6903 MB / 428.4 MB, free: 360 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.05694, allocations: 4.188 kB / 428.4 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.05696, allocations: 15.94 kB / 428.4 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.05697, allocations: 8 kB / 428.4 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.05749, allocations: 332.1 kB / 428.8 MB, free: 0 / 394.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.001581/0.05907, allocations: 2.184 MB / 430.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.05972, allocations: 338.6 kB / 431.3 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.05981, allocations: 67.64 kB / 431.3 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02012/0.07992, allocations: 11.51 MB / 442.8 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.07995, allocations: 37.39 kB / 442.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.07995, allocations: 0 / 442.9 MB, free: 1.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001139/0.08109, allocations: 0.565 MB / 443.5 MB, free: 1.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.08115, allocations: 106.8 kB / 443.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.08137, allocations: 318.1 kB / 443.9 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.08139, allocations: 37.7 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.08151, allocations: 259.1 kB / 444.2 MB, free: 436 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.08157, allocations: 95.2 kB / 444.2 MB, free: 340 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.08165, allocations: 67.33 kB / 444.3 MB, free: 264 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1552/0.2369, allocations: 0.5188 MB / 444.8 MB, free: 76.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2371, allocations: 57.55 kB / 444.9 MB, free: 76.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2372, allocations: 237.3 kB / 445.1 MB, free: 76.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.2374, allocations: 236 kB / 445.4 MB, free: 76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2374, allocations: 4.219 kB / 445.4 MB, free: 76 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003411/0.2377, allocations: 282.6 kB / 445.6 MB, free: 75.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2377, allocations: 5.438 kB / 445.6 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2377, allocations: 2.594 kB / 445.6 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2377, allocations: 5.281 kB / 445.6 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.2379, allocations: 81.14 kB / 445.7 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2379, allocations: 9 kB / 445.7 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2381, allocations: 40.12 kB / 445.8 MB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2381, allocations: 15.98 kB / 445.8 MB, free: 75.96 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_a.phase,V1.state_b.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.0001195/0.2382, allocations: 175.3 kB / 446 MB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.2383, allocations: 39.69 kB / 446 MB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/0.239, allocations: 1.127 MB / 447.1 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.2391, allocations: 34.97 kB / 447.2 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2391, allocations: 0 / 447.2 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2391, allocations: 3.141 kB / 447.2 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.2395, allocations: 0.5992 MB / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2395, allocations: 0 / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2396, allocations: 69 kB / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2396, allocations: 2.656 kB / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2396, allocations: 6.531 kB / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2396, allocations: 0 / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2396, allocations: 0 / 447.8 MB, free: 75.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.2401, allocations: 0.7764 MB / 448.6 MB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.2402, allocations: 89.58 kB / 448.7 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.2402, allocations: 21.25 kB / 448.7 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2403, allocations: 19.2 kB / 448.7 MB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.2404, allocations: 38.98 kB / 448.8 MB, free: 75.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.2404, allocations: 14.06 kB / 448.8 MB, free: 75.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2405, allocations: 285.5 kB / 449.1 MB, free: 75.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2405, allocations: 0 / 449.1 MB, free: 75.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002108/0.2426, allocations: 1.006 MB / 450.1 MB, free: 75.02 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.002782/0.2454, allocations: 1.309 MB / 451.4 MB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.2457, allocations: 280.9 kB / 451.7 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2457, allocations: 1.688 kB / 451.7 MB, free: 74.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2459, allocations: 226 kB / 451.9 MB, free: 74.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.2464, allocations: 213.4 kB / 452.1 MB, free: 74.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2479, allocations: 1.33 MB / 453.4 MB, free: 74.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.248, allocations: 182.9 kB / 453.6 MB, free: 74.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.2482, allocations: 254.4 kB / 453.8 MB, free: 74.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.2485, allocations: 255.7 kB / 454.1 MB, free: 74.18 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2485, allocations: 4 kB / 454.1 MB, free: 74.17 MB / 410.7 MB Notification: Performance of Templates: time 0.04075/0.2893, allocations: 45.41 MB / 499.5 MB, free: 60.88 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: 4.725710193626583]