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.001429/0.001429, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001422/0.001422, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.597/1.597, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 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.298/0.298, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.00232/0.00232, allocations: 85.36 kB / 490.2 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1457, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.0354/0.1812, allocations: 28.28 MB / 0.5673 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.2008, allocations: 13.3 MB / 0.5803 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.2012, allocations: 7.938 kB / 0.5803 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.2021, allocations: 246.4 kB / 0.5805 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.2135, allocations: 3.678 MB / 0.5841 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007251/0.2208, allocations: 2.369 MB / 0.5864 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.2223, allocations: 0.8964 MB / 0.5873 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.2228, allocations: 252.7 kB / 0.5875 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009242/0.2238, allocations: 442.2 kB / 0.588 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.2242, allocations: 278.8 kB / 0.5882 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.2242, allocations: 32 kB / 0.5883 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/0.2418, allocations: 7.227 MB / 0.5953 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.2421, allocations: 107.6 kB / 0.5954 GB, free: 11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.2424, allocations: 215.1 kB / 0.5956 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.2569, allocations: 4.443 MB / 0.6 GB, free: 6.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.257, allocations: 3.938 kB / 0.6 GB, free: 6.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.257, allocations: 0 / 0.6 GB, free: 6.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.257, allocations: 0 / 0.6 GB, free: 6.328 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.004335/0.2613, allocations: 1.279 MB / 0.6012 GB, free: 4.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.2614, allocations: 8.031 kB / 0.6012 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2632, allocations: 212.5 kB / 0.6014 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.2639, allocations: 383.5 kB / 0.6018 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.2639, allocations: 25.03 kB / 0.6018 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.264, allocations: 32.38 kB / 0.6018 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.2657, allocations: 0.5938 MB / 0.6024 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2657, allocations: 0 / 0.6024 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.2658, allocations: 20 kB / 0.6024 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.2658, allocations: 4 kB / 0.6025 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.2675, allocations: 0.5484 MB / 0.603 GB, free: 3.105 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.003784/0.2713, allocations: 2.633 MB / 0.6056 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3145/0.5858, allocations: 462.4 kB / 0.606 GB, free: 61.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.5864, allocations: 196 kB / 0.6062 GB, free: 61.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05125/0.6377, allocations: 26.87 MB / 0.6324 GB, free: 43.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.6377, allocations: 41.09 kB / 0.6325 GB, free: 43.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.6377, allocations: 2.297 kB / 0.6325 GB, free: 43.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002912/0.6407, allocations: 0.8145 MB / 0.6333 GB, free: 43.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.6407, allocations: 110.1 kB / 0.6334 GB, free: 42.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.641, allocations: 316.1 kB / 0.6337 GB, free: 42.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6411, allocations: 31.89 kB / 0.6337 GB, free: 42.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.6412, allocations: 204.1 kB / 0.6339 GB, free: 42.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.6412, allocations: 91.23 kB / 0.634 GB, free: 42.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6414, allocations: 69.33 kB / 0.6341 GB, free: 42.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.6414, allocations: 342.7 kB / 0.6344 GB, free: 42.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.6418, allocations: 150.3 kB / 0.6345 GB, free: 41.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.6424, allocations: 247.8 kB / 0.6348 GB, free: 41.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.6432, allocations: 374.6 kB / 0.6351 GB, free: 41.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6432, allocations: 1.688 kB / 0.6351 GB, free: 41.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001065/0.6443, allocations: 447.2 kB / 0.6355 GB, free: 41.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6443, allocations: 5.781 kB / 0.6355 GB, free: 41.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6443, allocations: 3.312 kB / 0.6356 GB, free: 41.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.6444, allocations: 4.688 kB / 0.6356 GB, free: 41.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.6447, allocations: 94.05 kB / 0.6356 GB, free: 41.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.6448, allocations: 6.141 kB / 0.6357 GB, free: 41.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.6451, allocations: 49.91 kB / 0.6357 GB, free: 41.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.6451, allocations: 19.62 kB / 0.6357 GB, free: 41.28 MB / 462.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.0001656/0.6453, allocations: 159.7 kB / 0.6359 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.6454, allocations: 38.17 kB / 0.6359 GB, free: 41.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.6477, allocations: 1.914 MB / 0.6378 GB, free: 40.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/0.6478, allocations: 32.83 kB / 0.6378 GB, free: 40.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.6478, allocations: 1.719 kB / 0.6378 GB, free: 40.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.6478, allocations: 1.781 kB / 0.6378 GB, free: 40.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.6488, allocations: 1.024 MB / 0.6388 GB, free: 39.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6488, allocations: 0 / 0.6388 GB, free: 39.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.6491, allocations: 85.8 kB / 0.6389 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6492, allocations: 0 / 0.6389 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.6492, allocations: 7.938 kB / 0.6389 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6492, allocations: 0 / 0.6389 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6492, allocations: 0 / 0.6389 GB, free: 39.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6505, allocations: 1.109 MB / 0.64 GB, free: 38.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.6506, allocations: 166.7 kB / 0.6401 GB, free: 38.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.6507, allocations: 30.17 kB / 0.6402 GB, free: 38.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.6509, allocations: 27.38 kB / 0.6402 GB, free: 38.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.651, allocations: 41.88 kB / 0.6402 GB, free: 38.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.6511, allocations: 11.59 kB / 0.6402 GB, free: 38.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.6514, allocations: 331 kB / 0.6406 GB, free: 38.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6514, allocations: 0 / 0.6406 GB, free: 38.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002437/0.6538, allocations: 1.007 MB / 0.6415 GB, free: 38.08 MB / 462.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.003729/0.6575, allocations: 1.182 MB / 0.6427 GB, free: 37.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.6587, allocations: 0.6088 MB / 0.6433 GB, free: 37.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6588, allocations: 0 / 0.6433 GB, free: 37.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.6593, allocations: 0.5238 MB / 0.6438 GB, free: 37.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6604, allocations: 222.3 kB / 0.644 GB, free: 37.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.6621, allocations: 1.533 MB / 0.6455 GB, free: 35.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.6624, allocations: 0.9599 MB / 0.6465 GB, free: 34.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.6628, allocations: 274.4 kB / 0.6467 GB, free: 34.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.6629, allocations: 43.42 kB / 0.6468 GB, free: 34.52 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6629, allocations: 4 kB / 0.6468 GB, free: 34.52 MB / 462.1 MB Notification: Performance of Templates: time 0.04085/0.7037, allocations: 39.66 MB / 0.6855 GB, free: 10.95 MB / 478.1 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 8.26315703522414]