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.001726/0.001726, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.42/1.42, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008806/0.0008806, allocations: 86.5 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1842/0.1842, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.696e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.122/6.236, allocations: 2.759 GB / 3.261 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/6.237, allocations: 86.58 kB / 3.261 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8353/7.072, allocations: 219 MB / 3.475 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/7.072, allocations: 0 / 3.475 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.575e-05/7.072, allocations: 10.41 kB / 3.475 GB, free: 95.3 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.005602/7.078, allocations: 1.175 MB / 3.476 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/7.078, allocations: 11.66 kB / 3.476 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/7.08, allocations: 224.5 kB / 3.476 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/7.081, allocations: 374.6 kB / 3.477 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/7.081, allocations: 28.56 kB / 3.477 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/7.081, allocations: 29.94 kB / 3.477 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/7.083, allocations: 0.5862 MB / 3.477 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/7.083, allocations: 5.609 kB / 3.477 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/7.083, allocations: 13.34 kB / 3.477 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/7.083, allocations: 7.469 kB / 3.477 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/7.084, allocations: 497.6 kB / 3.478 GB, free: 94.32 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.00402/7.088, allocations: 2.608 MB / 3.48 GB, free: 92.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/7.089, allocations: 424.6 kB / 3.481 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/7.09, allocations: 130.7 kB / 3.481 GB, free: 92.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04364/7.133, allocations: 24.16 MB / 3.504 GB, free: 77.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/7.133, allocations: 37.75 kB / 3.504 GB, free: 77.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.447e-06/7.133, allocations: 0 / 3.504 GB, free: 77.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002147/7.136, allocations: 0.6289 MB / 3.505 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/7.136, allocations: 114.5 kB / 3.505 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/7.136, allocations: 269.2 kB / 3.505 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/7.136, allocations: 32.95 kB / 3.505 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/7.136, allocations: 207.3 kB / 3.506 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/7.136, allocations: 83.48 kB / 3.506 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/7.136, allocations: 10.69 kB / 3.506 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/7.136, allocations: 340 kB / 3.506 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/7.137, allocations: 88.25 kB / 3.506 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/7.137, allocations: 184.5 kB / 3.506 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/7.137, allocations: 115.4 kB / 3.506 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.137, allocations: 0 / 3.506 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005322/7.138, allocations: 331.3 kB / 3.507 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/7.138, allocations: 10.67 kB / 3.507 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/7.138, allocations: 0 / 3.507 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/7.138, allocations: 7.25 kB / 3.507 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/7.138, allocations: 94.58 kB / 3.507 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/7.138, allocations: 11.25 kB / 3.507 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/7.138, allocations: 71.64 kB / 3.507 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/7.138, allocations: 19.02 kB / 3.507 GB, free: 76.69 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 () * 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 9.79e-05/7.139, allocations: 132.2 kB / 3.507 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/7.139, allocations: 34.56 kB / 3.507 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/7.14, allocations: 1.847 MB / 3.509 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/7.14, allocations: 33.67 kB / 3.509 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/7.14, allocations: 0 / 3.509 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/7.14, allocations: 0 / 3.509 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/7.141, allocations: 1.008 MB / 3.51 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/7.141, allocations: 3.688 kB / 3.51 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/7.142, allocations: 91.19 kB / 3.51 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/7.142, allocations: 3.969 kB / 3.51 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/7.142, allocations: 4 kB / 3.51 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/7.142, allocations: 7.438 kB / 3.51 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/7.142, allocations: 0 / 3.51 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/7.143, allocations: 0.9851 MB / 3.511 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/7.143, allocations: 222.3 kB / 3.511 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/7.143, allocations: 7.938 kB / 3.511 GB, free: 74.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/7.143, allocations: 49.55 kB / 3.511 GB, free: 74.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/7.144, allocations: 31.56 kB / 3.511 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/7.144, allocations: 11.81 kB / 3.511 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003195/7.144, allocations: 320.6 kB / 3.512 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/7.144, allocations: 0 / 3.512 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004835/7.149, allocations: 1.014 MB / 3.513 GB, free: 74 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 () * 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.008923/7.158, allocations: 1.363 MB / 3.514 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000979/7.159, allocations: 0.5065 MB / 3.514 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/7.159, allocations: 0 / 3.514 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/7.159, allocations: 470.3 kB / 3.515 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/7.161, allocations: 198.1 kB / 3.515 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/7.163, allocations: 1.144 MB / 3.516 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/7.163, allocations: 0.975 MB / 3.517 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004986/7.164, allocations: 251.3 kB / 3.517 GB, free: 72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/7.164, allocations: 41.03 kB / 3.517 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/7.164, allocations: 0 / 3.517 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.04371/7.207, allocations: 32.64 MB / 3.549 GB, free: 70.36 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