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.001543/0.001543, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009945, allocations: 105.4 kB / 281.6 MB, free: 5.32 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.2113/0.2113, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.478e-05/1.482e-05, allocations: 4.156 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.731/6.872, allocations: 2.759 GB / 3.253 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/6.873, allocations: 83.95 kB / 3.253 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8117/7.684, allocations: 216.3 MB / 3.465 GB, free: 244 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/7.684, allocations: 0 / 3.465 GB, free: 244 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.33e-05/7.684, allocations: 11.91 kB / 3.465 GB, free: 236 kB / 0.5105 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.3945/8.079, allocations: 1.176 MB / 3.466 GB, free: 85.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/8.079, allocations: 14.22 kB / 3.466 GB, free: 85.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/8.081, allocations: 225.2 kB / 3.466 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/8.082, allocations: 374.6 kB / 3.466 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/8.082, allocations: 14.75 kB / 3.466 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/8.082, allocations: 16.53 kB / 3.466 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000604/8.082, allocations: 303.3 kB / 3.467 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/8.083, allocations: 386.2 kB / 3.467 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/8.083, allocations: 1.781 kB / 3.467 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/8.083, allocations: 1.062 kB / 3.467 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/8.083, allocations: 7.875 kB / 3.467 GB, free: 85.61 MB / 0.5105 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.01844/8.102, allocations: 10.14 MB / 3.477 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/8.102, allocations: 235.7 kB / 3.477 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/8.102, allocations: 125.5 kB / 3.477 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04713/8.149, allocations: 24.14 MB / 3.501 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/8.149, allocations: 38.28 kB / 3.501 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 3.637e-06/8.149, allocations: 3.969 kB / 3.501 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.00203/8.152, allocations: 0.5091 MB / 3.501 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/8.152, allocations: 114.5 kB / 3.501 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/8.152, allocations: 224.7 kB / 3.502 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/8.152, allocations: 29.36 kB / 3.502 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/8.152, allocations: 212.1 kB / 3.502 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/8.152, allocations: 74.67 kB / 3.502 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/8.152, allocations: 0 / 3.502 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001088/8.152, allocations: 342.8 kB / 3.502 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/8.152, allocations: 89.56 kB / 3.502 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/8.153, allocations: 179.6 kB / 3.503 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/8.153, allocations: 163.7 kB / 3.503 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.153, allocations: 0 / 3.503 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008826/8.154, allocations: 363.6 kB / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/8.154, allocations: 6.812 kB / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/8.154, allocations: 0 / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/8.154, allocations: 6.125 kB / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/8.155, allocations: 100.7 kB / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/8.155, allocations: 10.27 kB / 3.503 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/8.155, allocations: 67.42 kB / 3.503 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/8.155, allocations: 14.2 kB / 3.503 GB, free: 63.62 MB / 0.5105 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 () * 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.0001148/8.155, allocations: 119 kB / 3.503 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/8.155, allocations: 36.91 kB / 3.503 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/8.157, allocations: 1.617 MB / 3.505 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/8.157, allocations: 31.27 kB / 3.505 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/8.157, allocations: 3.094 kB / 3.505 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/8.157, allocations: 3.781 kB / 3.505 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/8.158, allocations: 0.8416 MB / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/8.158, allocations: 0 / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/8.159, allocations: 93.14 kB / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/8.159, allocations: 0 / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/8.159, allocations: 3.812 kB / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/8.159, allocations: 1.438 kB / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/8.159, allocations: 2.969 kB / 3.506 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/8.16, allocations: 0.9254 MB / 3.507 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/8.16, allocations: 211 kB / 3.507 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/8.16, allocations: 3.875 kB / 3.507 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/8.16, allocations: 40.94 kB / 3.507 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.16, allocations: 41.45 kB / 3.507 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/8.16, allocations: 11.19 kB / 3.507 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002504/8.161, allocations: 287 kB / 3.507 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.161, allocations: 1.781 kB / 3.507 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005564/8.166, allocations: 0.9985 MB / 3.508 GB, free: 62.66 MB / 0.5105 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * 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.008121/8.174, allocations: 1.428 MB / 3.51 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008244/8.175, allocations: 456.9 kB / 3.51 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/8.175, allocations: 0 / 3.51 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/8.176, allocations: 419.3 kB / 3.511 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/8.177, allocations: 168.3 kB / 3.511 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/8.178, allocations: 1.033 MB / 3.512 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/8.179, allocations: 0.9594 MB / 3.513 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004326/8.179, allocations: 255.6 kB / 3.513 GB, free: 61.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/8.179, allocations: 40.28 kB / 3.513 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/8.179, allocations: 0 / 3.513 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.03814/8.217, allocations: 27.73 MB / 3.54 GB, free: 60.31 MB / 0.5105 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