Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|V1.minLimiter.y|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.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|V1.minLimiter.y|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.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008433/0.0008434, allocations: 99.81 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 45.14 MB / 383.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.841e-05, allocations: 0 / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 63.24 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.47/6.586, allocations: 2.777 GB / 3.282 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/6.586, allocations: 86.72 kB / 3.282 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7411/7.327, allocations: 236.7 MB / 3.513 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/7.327, allocations: 0 / 3.513 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.082e-05/7.327, allocations: 16.81 kB / 3.513 GB, free: 80.01 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006506/7.334, allocations: 1.284 MB / 3.514 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/7.334, allocations: 19.11 kB / 3.514 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/7.337, allocations: 263.5 kB / 3.514 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/7.338, allocations: 413 kB / 3.515 GB, free: 78.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/7.339, allocations: 15.84 kB / 3.515 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/7.339, allocations: 23.44 kB / 3.515 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008937/7.34, allocations: 347.1 kB / 3.515 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/7.341, allocations: 422.9 kB / 3.515 GB, free: 78.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/7.341, allocations: 3.953 kB / 3.515 GB, free: 78.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/7.341, allocations: 3.969 kB / 3.515 GB, free: 78.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/7.341, allocations: 7.812 kB / 3.515 GB, free: 78.46 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01848/7.359, allocations: 10.96 MB / 3.526 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/7.36, allocations: 313 kB / 3.526 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/7.36, allocations: 129.9 kB / 3.527 GB, free: 70.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04046/7.401, allocations: 26.72 MB / 3.553 GB, free: 52.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/7.401, allocations: 42.39 kB / 3.553 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/7.401, allocations: 3.938 kB / 3.553 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002239/7.403, allocations: 0.5774 MB / 3.553 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/7.403, allocations: 102.8 kB / 3.553 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/7.403, allocations: 283.6 kB / 3.554 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/7.403, allocations: 25.7 kB / 3.554 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/7.403, allocations: 240.4 kB / 3.554 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/7.404, allocations: 81.69 kB / 3.554 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/7.404, allocations: 4 kB / 3.554 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/7.404, allocations: 349.6 kB / 3.554 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/7.404, allocations: 105 kB / 3.554 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/7.404, allocations: 227.1 kB / 3.555 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/7.405, allocations: 218.9 kB / 3.555 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/7.405, allocations: 3.938 kB / 3.555 GB, free: 51.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001165/7.406, allocations: 470.1 kB / 3.555 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002744/7.406, allocations: 1.39 MB / 3.557 GB, free: 49.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.406, allocations: 3.969 kB / 3.557 GB, free: 49.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/7.406, allocations: 7.906 kB / 3.557 GB, free: 49.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/7.407, allocations: 115.4 kB / 3.557 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/7.407, allocations: 3.969 kB / 3.557 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/7.407, allocations: 65.28 kB / 3.557 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/7.407, allocations: 18.94 kB / 3.557 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/7.407, allocations: 3.969 kB / 3.557 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008572/7.408, allocations: 354.2 kB / 3.557 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/7.408, allocations: 7.891 kB / 3.557 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/7.408, allocations: 7.938 kB / 3.557 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/7.408, allocations: 99.84 kB / 3.557 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/7.408, allocations: 11.84 kB / 3.557 GB, free: 49.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/7.409, allocations: 64.14 kB / 3.557 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/7.409, allocations: 24.17 kB / 3.557 GB, free: 49.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/7.409, allocations: 118.6 kB / 3.558 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/7.409, allocations: 36.47 kB / 3.558 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/7.411, allocations: 1.713 MB / 3.559 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/7.411, allocations: 27.05 kB / 3.559 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/7.411, allocations: 0 / 3.559 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/7.411, allocations: 7.656 kB / 3.559 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/7.412, allocations: 0.8778 MB / 3.56 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/7.412, allocations: 0 / 3.56 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/7.412, allocations: 93.34 kB / 3.56 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/7.412, allocations: 0 / 3.56 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/7.412, allocations: 2.875 kB / 3.56 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/7.412, allocations: 3.375 kB / 3.56 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.412, allocations: 0 / 3.56 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/7.413, allocations: 0.9843 MB / 3.561 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/7.414, allocations: 262.9 kB / 3.561 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/7.414, allocations: 3.938 kB / 3.561 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/7.414, allocations: 30.52 kB / 3.561 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/7.414, allocations: 34.25 kB / 3.562 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/7.414, allocations: 15.38 kB / 3.562 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000273/7.414, allocations: 315.7 kB / 3.562 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/7.414, allocations: 0 / 3.562 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004777/7.419, allocations: 1.154 MB / 3.563 GB, free: 46.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007017/7.426, allocations: 1.508 MB / 3.564 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000993/7.427, allocations: 0.6617 MB / 3.565 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.427, allocations: 3.156 kB / 3.565 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/7.428, allocations: 432.3 kB / 3.566 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/7.429, allocations: 198.6 kB / 3.566 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/7.43, allocations: 1.102 MB / 3.567 GB, free: 45.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/7.43, allocations: 0.99 MB / 3.568 GB, free: 44.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000738/7.431, allocations: 0.5629 MB / 3.568 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/7.431, allocations: 44.16 kB / 3.568 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/7.431, allocations: 0 / 3.568 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.03311/7.464, allocations: 29.55 MB / 3.597 GB, free: 16.79 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches