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.001359/0.001359, allocations: 75.7 kB / 21.69 MB, free: 2.844 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.001939/0.001939, allocations: 166.6 kB / 24.99 MB, free: 9.328 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.9981/0.9981, allocations: 177 MB / 205.2 MB, free: 5.137 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.2601/0.2601, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.903e-06/1.903e-06, allocations: 0 / 378.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.15e-05, allocations: 2.312 kB / 378.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0344/0.03444, allocations: 28.83 MB / 407.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.04529, allocations: 13.08 MB / 420.6 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.04551, allocations: 11.88 kB / 420.7 MB, free: 8.395 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.04608, allocations: 234.3 kB / 420.9 MB, free: 8.164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.05192, allocations: 3.705 MB / 424.6 MB, free: 4.445 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.0559, allocations: 2.383 MB / 427 MB, free: 2.051 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.05668, allocations: 0.9195 MB / 427.9 MB, free: 1.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.05699, allocations: 217 kB / 428.1 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.05761, allocations: 0.549 MB / 428.7 MB, free: 368 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.05785, allocations: 239.3 kB / 428.9 MB, free: 128 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.05789, allocations: 32 kB / 428.9 MB, free: 96 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007809/0.0657, allocations: 6.922 MB / 435.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.0658, allocations: 103.6 kB / 435.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.06594, allocations: 159.7 kB / 436.1 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006412/0.07236, allocations: 5.39 MB / 441.5 MB, free: 3.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.07236, allocations: 4 kB / 441.5 MB, free: 3.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07236, allocations: 0 / 441.5 MB, free: 3.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.07237, allocations: 0 / 441.5 MB, free: 3.5 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.0023/0.07467, allocations: 1.276 MB / 442.8 MB, free: 2.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.07471, allocations: 8.031 kB / 442.8 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.07588, allocations: 299.7 kB / 443.1 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.07637, allocations: 335.2 kB / 443.4 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.07641, allocations: 33.03 kB / 443.4 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.07645, allocations: 28.38 kB / 443.5 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.07748, allocations: 0.7177 MB / 444.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.0775, allocations: 4.188 kB / 444.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.07753, allocations: 15.94 kB / 444.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.07754, allocations: 8 kB / 444.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.07824, allocations: 363.4 kB / 444.6 MB, free: 280 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.1331/0.2113, allocations: 2.26 MB / 446.8 MB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.2121, allocations: 361.1 kB / 447.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2122, allocations: 80.66 kB / 447.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02053/0.2327, allocations: 13.21 MB / 460.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2328, allocations: 47.94 kB / 460.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.2328, allocations: 0 / 460.5 MB, free: 100.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001273/0.234, allocations: 0.6055 MB / 461.1 MB, free: 100.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2341, allocations: 105.8 kB / 461.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2342, allocations: 323.4 kB / 461.5 MB, free: 99.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2343, allocations: 29.7 kB / 461.6 MB, free: 99.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.2343, allocations: 256.9 kB / 461.8 MB, free: 99.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2344, allocations: 86.64 kB / 461.9 MB, free: 99.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.2345, allocations: 84.06 kB / 462 MB, free: 99.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.2345, allocations: 0.5123 MB / 462.5 MB, free: 98.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.2346, allocations: 59.33 kB / 462.6 MB, free: 98.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2347, allocations: 250.1 kB / 462.8 MB, free: 98.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2349, allocations: 254 kB / 463 MB, free: 98.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2349, allocations: 3.938 kB / 463 MB, free: 98.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000318/0.2353, allocations: 304.5 kB / 463.3 MB, free: 98.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2353, allocations: 3.156 kB / 463.3 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2353, allocations: 3.25 kB / 463.4 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2353, allocations: 9.812 kB / 463.4 MB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2355, allocations: 77.45 kB / 463.4 MB, free: 98.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2355, allocations: 7.25 kB / 463.4 MB, free: 98.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2356, allocations: 41.45 kB / 463.5 MB, free: 98.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2356, allocations: 21.77 kB / 463.5 MB, free: 98.35 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 8.157e-05/0.2357, allocations: 174.4 kB / 463.7 MB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2357, allocations: 39.84 kB / 463.7 MB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.2366, allocations: 1.237 MB / 465 MB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.2366, allocations: 30.86 kB / 465 MB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2366, allocations: 1.812 kB / 465 MB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2366, allocations: 3.188 kB / 465 MB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.237, allocations: 0.6667 MB / 465.7 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.237, allocations: 3.938 kB / 465.7 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2371, allocations: 55.42 kB / 465.7 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2371, allocations: 2.906 kB / 465.7 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2371, allocations: 6.906 kB / 465.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2371, allocations: 4 kB / 465.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2371, allocations: 6.969 kB / 465.7 MB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.2377, allocations: 0.8224 MB / 466.6 MB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2377, allocations: 89.47 kB / 466.6 MB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2377, allocations: 26.06 kB / 466.7 MB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2378, allocations: 17.41 kB / 466.7 MB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.2379, allocations: 40.39 kB / 466.7 MB, free: 96.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2379, allocations: 9 kB / 466.7 MB, free: 96.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2381, allocations: 308.6 kB / 467 MB, free: 96.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2381, allocations: 0 / 467 MB, free: 96.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001585/0.2397, allocations: 1.019 MB / 468.1 MB, free: 96.63 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.00272/0.2424, allocations: 1.301 MB / 469.4 MB, free: 96.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/0.2428, allocations: 321.3 kB / 469.7 MB, free: 96.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2428, allocations: 1.094 kB / 469.7 MB, free: 96.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.243, allocations: 261.2 kB / 469.9 MB, free: 96.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2437, allocations: 215.7 kB / 470.1 MB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2452, allocations: 1.34 MB / 471.5 MB, free: 95.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2453, allocations: 187.8 kB / 471.7 MB, free: 95.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.2456, allocations: 266.7 kB / 471.9 MB, free: 95.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.2457, allocations: 40.84 kB / 472 MB, free: 95.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2457, allocations: 4.703 kB / 472 MB, free: 95.39 MB / 410.7 MB Notification: Performance of Templates: time 0.03322/0.2789, allocations: 40.25 MB / 0.5002 GB, free: 65.62 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.921895585954189]