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.001566/0.001566, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001885/0.001885, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.573/1.573, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.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.2515/0.2515, allocations: 46.95 MB / 361.6 MB, free: 3.91 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.002702/0.002702, allocations: 83.88 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3627, allocations: 66.1 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03499/0.3977, allocations: 25.91 MB / 0.5872 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.4155, allocations: 11.77 MB / 0.5987 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.416, allocations: 15.88 kB / 0.5987 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.4168, allocations: 230.4 kB / 0.5989 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.4275, allocations: 3.649 MB / 0.6025 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006942/0.4345, allocations: 2.35 MB / 0.6048 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.4359, allocations: 0.9119 MB / 0.6057 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.4363, allocations: 220.8 kB / 0.6059 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.4372, allocations: 442.2 kB / 0.6063 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.4376, allocations: 262.8 kB / 0.6066 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.4376, allocations: 36 kB / 0.6066 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01393/0.4516, allocations: 6.915 MB / 0.6134 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.4518, allocations: 103.7 kB / 0.6135 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.4521, allocations: 179.2 kB / 0.6136 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.4654, allocations: 4.427 MB / 0.618 GB, free: 10.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4654, allocations: 0 / 0.618 GB, free: 10.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4654, allocations: 0 / 0.618 GB, free: 10.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.4655, allocations: 4 kB / 0.618 GB, free: 10.43 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.004632/0.4701, allocations: 1.199 MB / 0.6191 GB, free: 9.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4701, allocations: 8.031 kB / 0.6191 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.4719, allocations: 216.5 kB / 0.6194 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.4725, allocations: 309.2 kB / 0.6196 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.4726, allocations: 32.97 kB / 0.6197 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.4726, allocations: 28.38 kB / 0.6197 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.4743, allocations: 0.7447 MB / 0.6204 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4743, allocations: 3.938 kB / 0.6204 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.4743, allocations: 12 kB / 0.6204 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4744, allocations: 8 kB / 0.6205 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.476, allocations: 0.541 MB / 0.621 GB, free: 7.199 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.002898/0.4789, allocations: 1.868 MB / 0.6228 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.4805, allocations: 446.1 kB / 0.6232 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.481, allocations: 184.7 kB / 0.6234 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04729/0.5282, allocations: 13.2 MB / 0.6363 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5283, allocations: 30.56 kB / 0.6363 GB, free: 7.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.5283, allocations: 0 / 0.6363 GB, free: 7.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002971/0.5313, allocations: 0.8209 MB / 0.6371 GB, free: 6.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.5314, allocations: 114.7 kB / 0.6372 GB, free: 6.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.5317, allocations: 276.5 kB / 0.6375 GB, free: 6.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5317, allocations: 33.7 kB / 0.6375 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.5319, allocations: 212.4 kB / 0.6377 GB, free: 5.883 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.532, allocations: 91.2 kB / 0.6378 GB, free: 5.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.5321, allocations: 69.69 kB / 0.6379 GB, free: 5.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5323, allocations: 346.8 kB / 0.6382 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.5327, allocations: 139.9 kB / 0.6384 GB, free: 5.234 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.5332, allocations: 299.1 kB / 0.6386 GB, free: 4.891 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/0.5342, allocations: 377.1 kB / 0.639 GB, free: 4.488 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5342, allocations: 0 / 0.639 GB, free: 4.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00113/0.5353, allocations: 453.7 kB / 0.6394 GB, free: 4.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5354, allocations: 7.938 kB / 0.6394 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5354, allocations: 4 kB / 0.6394 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5354, allocations: 8.312 kB / 0.6395 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.5357, allocations: 87.88 kB / 0.6395 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5358, allocations: 7.938 kB / 0.6395 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.536, allocations: 39.81 kB / 0.6396 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5361, allocations: 19.98 kB / 0.6396 GB, free: 3.867 MB / 478.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.0002051/0.5363, allocations: 161.7 kB / 0.6398 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.5364, allocations: 35.81 kB / 0.6398 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.5391, allocations: 1.994 MB / 0.6417 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.5391, allocations: 31.94 kB / 0.6418 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5391, allocations: 3.938 kB / 0.6418 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5391, allocations: 3.984 kB / 0.6418 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5402, allocations: 0.8594 MB / 0.6426 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5402, allocations: 4 kB / 0.6426 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.5405, allocations: 87.86 kB / 0.6427 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5405, allocations: 0 / 0.6427 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.5406, allocations: 8 kB / 0.6427 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5406, allocations: 0 / 0.6427 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.5406, allocations: 0 / 0.6427 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.5423, allocations: 1.14 MB / 0.6438 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.5424, allocations: 83.16 kB / 0.6439 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.5425, allocations: 23.78 kB / 0.6439 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5427, allocations: 31.97 kB / 0.644 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5429, allocations: 39.62 kB / 0.644 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.5429, allocations: 15.98 kB / 0.644 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.5432, allocations: 303.1 kB / 0.6443 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5432, allocations: 4 kB / 0.6443 GB, free: 14.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002729/0.546, allocations: 1.006 MB / 0.6453 GB, free: 13.97 MB / 494.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.004122/0.5501, allocations: 1.172 MB / 0.6464 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.5515, allocations: 0.6144 MB / 0.647 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5515, allocations: 0 / 0.647 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.5522, allocations: 429 kB / 0.6474 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5533, allocations: 192.4 kB / 0.6476 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5556, allocations: 1.587 MB / 0.6492 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.556, allocations: 370.2 kB / 0.6495 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5561, allocations: 43.44 kB / 0.6496 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5561, allocations: 0 / 0.6496 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.03807/0.5942, allocations: 24.18 MB / 0.6732 GB, free: 1.34 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/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: 11.29566367669031]