Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 180 kB / 17.06 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 101.9 kB / 292.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3812/0.3812, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 11.98 kB / 459.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3534, allocations: 61.9 MB / 0.5096 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.796/7.15, allocations: 2.759 GB / 3.269 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/7.15, allocations: 91.58 kB / 3.269 GB, free: 17.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7819/7.932, allocations: 219.7 MB / 3.484 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.537e-06/7.932, allocations: 0 / 3.484 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.322e-05/7.932, allocations: 11.98 kB / 3.484 GB, free: 19 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007034/7.939, allocations: 1.224 MB / 3.485 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/7.939, allocations: 8.031 kB / 3.485 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/7.941, allocations: 227.7 kB / 3.485 GB, free: 17.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000818/7.942, allocations: 374.4 kB / 3.485 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/7.942, allocations: 24.66 kB / 3.485 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/7.942, allocations: 28 kB / 3.485 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/7.944, allocations: 0.6182 MB / 3.486 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/7.944, allocations: 3.938 kB / 3.486 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/7.944, allocations: 20 kB / 3.486 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/7.944, allocations: 8 kB / 3.486 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/7.946, allocations: 0.5758 MB / 3.487 GB, free: 15.78 MB / 0.5261 GB 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.002752/7.948, allocations: 2.609 MB / 3.489 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/7.95, allocations: 485.2 kB / 3.49 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3638/8.314, allocations: 24.06 MB / 3.513 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/8.314, allocations: 36.78 kB / 3.513 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/8.314, allocations: 0 / 3.513 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002768/8.316, allocations: 0.8562 MB / 3.514 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/8.317, allocations: 106.7 kB / 3.514 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/8.317, allocations: 270.7 kB / 3.514 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/8.317, allocations: 36.7 kB / 3.514 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/8.317, allocations: 203.7 kB / 3.515 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/8.317, allocations: 85.69 kB / 3.515 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/8.317, allocations: 6.375 kB / 3.515 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/8.317, allocations: 345.3 kB / 3.515 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/8.318, allocations: 157.5 kB / 3.515 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/8.318, allocations: 247.2 kB / 3.515 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/8.318, allocations: 173.7 kB / 3.515 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/8.318, allocations: 3.656 kB / 3.515 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008994/8.319, allocations: 462.5 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/8.319, allocations: 5.688 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/8.319, allocations: 9.562 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/8.319, allocations: 3.094 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/8.32, allocations: 101.2 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/8.32, allocations: 5.562 kB / 3.516 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/8.32, allocations: 75 kB / 3.516 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/8.32, allocations: 14.73 kB / 3.516 GB, free: 75.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/8.32, allocations: 167.1 kB / 3.516 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/8.32, allocations: 33.44 kB / 3.516 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/8.322, allocations: 1.938 MB / 3.518 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/8.323, allocations: 27.98 kB / 3.518 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.323, allocations: 0 / 3.518 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/8.323, allocations: 7.156 kB / 3.518 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008894/8.323, allocations: 1.007 MB / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/8.323, allocations: 9.781 kB / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/8.324, allocations: 94.48 kB / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/8.324, allocations: 0 / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/8.324, allocations: 5.562 kB / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/8.324, allocations: 2.938 kB / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/8.324, allocations: 0 / 3.519 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/8.325, allocations: 1.114 MB / 3.52 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/8.325, allocations: 220.4 kB / 3.521 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/8.325, allocations: 16.73 kB / 3.521 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/8.326, allocations: 50.58 kB / 3.521 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/8.326, allocations: 30.92 kB / 3.521 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/8.326, allocations: 15.91 kB / 3.521 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002892/8.326, allocations: 322.4 kB / 3.521 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/8.326, allocations: 2.625 kB / 3.521 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004537/8.331, allocations: 1.014 MB / 3.522 GB, free: 74.67 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.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 (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.007008/8.338, allocations: 1.362 MB / 3.523 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001363/8.339, allocations: 0.6273 MB / 3.524 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/8.339, allocations: 0 / 3.524 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/8.34, allocations: 0.5301 MB / 3.525 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/8.341, allocations: 206.4 kB / 3.525 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/8.343, allocations: 1.87 MB / 3.527 GB, free: 73.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/8.344, allocations: 0.9798 MB / 3.527 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004811/8.344, allocations: 252.3 kB / 3.528 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/8.344, allocations: 38.12 kB / 3.528 GB, free: 73 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/8.344, allocations: 0 / 3.528 GB, free: 73 MB / 0.5261 GB Notification: Performance of Templates: time 0.05004/8.394, allocations: 31.39 MB / 3.558 GB, free: 72.41 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches