Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 99.16 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3234/0.3234, allocations: 43.48 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.27e-05, allocations: 224 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.902/8.305, allocations: 2.771 GB / 3.237 GB, free: 16.15 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/8.305, allocations: 83.7 kB / 3.237 GB, free: 16.11 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.537/9.842, allocations: 234.1 MB / 3.466 GB, free: 74.74 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.613e-06/9.842, allocations: 0 / 3.466 GB, free: 74.74 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.109e-05/9.842, allocations: 14.7 kB / 3.466 GB, free: 74.74 MB / 0.4952 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.006366/9.848, allocations: 1.283 MB / 3.467 GB, free: 74.15 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/9.848, allocations: 9.062 kB / 3.467 GB, free: 74.15 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/9.851, allocations: 256.5 kB / 3.467 GB, free: 74.13 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/9.853, allocations: 412.4 kB / 3.467 GB, free: 73.91 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/9.853, allocations: 15.56 kB / 3.467 GB, free: 73.91 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/9.853, allocations: 19.03 kB / 3.467 GB, free: 73.91 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009595/9.854, allocations: 345.2 kB / 3.468 GB, free: 73.91 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/9.855, allocations: 419.1 kB / 3.468 GB, free: 73.77 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/9.855, allocations: 3.406 kB / 3.468 GB, free: 73.77 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/9.855, allocations: 5.453 kB / 3.468 GB, free: 73.77 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/9.855, allocations: 8.531 kB / 3.468 GB, free: 73.77 MB / 0.4952 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.03106/9.886, allocations: 10.24 MB / 3.478 GB, free: 67.41 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/9.887, allocations: 302.6 kB / 3.479 GB, free: 67.39 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/9.888, allocations: 133.6 kB / 3.479 GB, free: 67.38 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07577/9.963, allocations: 24.16 MB / 3.502 GB, free: 52.73 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/9.964, allocations: 36.84 kB / 3.502 GB, free: 52.7 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=27): time 3.666e-06/9.964, allocations: 0 / 3.502 GB, free: 52.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=27): time 0.002912/9.966, allocations: 0.5795 MB / 3.503 GB, free: 52.64 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/9.967, allocations: 102.8 kB / 3.503 GB, free: 52.51 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/9.967, allocations: 286.2 kB / 3.503 GB, free: 52.4 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/9.967, allocations: 25.7 kB / 3.503 GB, free: 52.37 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/9.967, allocations: 281.7 kB / 3.503 GB, free: 52.18 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/9.967, allocations: 85.94 kB / 3.504 GB, free: 52.13 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/9.967, allocations: 0 / 3.504 GB, free: 52.13 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/9.967, allocations: 330.7 kB / 3.504 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/9.968, allocations: 105 kB / 3.504 GB, free: 51.82 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/9.968, allocations: 228.2 kB / 3.504 GB, free: 51.68 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/9.969, allocations: 221.2 kB / 3.504 GB, free: 51.67 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/9.969, allocations: 5.281 kB / 3.504 GB, free: 51.67 MB / 0.4952 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001868/9.971, allocations: 443.3 kB / 3.505 GB, free: 51.63 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/9.972, allocations: 1.4 MB / 3.506 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/9.972, allocations: 3.25 kB / 3.506 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/9.972, allocations: 8.906 kB / 3.506 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/9.972, allocations: 104.1 kB / 3.506 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/9.972, allocations: 5.812 kB / 3.506 GB, free: 50.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/9.973, allocations: 66.86 kB / 3.506 GB, free: 50.17 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/9.973, allocations: 23.69 kB / 3.506 GB, free: 50.17 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/9.973, allocations: 3.969 kB / 3.506 GB, free: 50.17 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/9.975, allocations: 356.6 kB / 3.507 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/9.975, allocations: 3.312 kB / 3.507 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/9.975, allocations: 10.98 kB / 3.507 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/9.975, allocations: 102.6 kB / 3.507 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/9.975, allocations: 12.7 kB / 3.507 GB, free: 50.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/9.976, allocations: 57.48 kB / 3.507 GB, free: 50.15 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/9.976, allocations: 21.3 kB / 3.507 GB, free: 50.15 MB / 0.4952 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.0001667/9.976, allocations: 122.9 kB / 3.507 GB, free: 50.05 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/9.976, allocations: 35.25 kB / 3.507 GB, free: 50.03 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/9.98, allocations: 1.711 MB / 3.509 GB, free: 49.84 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/9.98, allocations: 25.3 kB / 3.509 GB, free: 49.84 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/9.98, allocations: 0 / 3.509 GB, free: 49.84 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/9.98, allocations: 3.375 kB / 3.509 GB, free: 49.84 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/9.981, allocations: 0.8938 MB / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/9.981, allocations: 0 / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/9.982, allocations: 81.03 kB / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/9.982, allocations: 0 / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/9.982, allocations: 10.77 kB / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/9.982, allocations: 3.406 kB / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.982, allocations: 0 / 3.51 GB, free: 49.61 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/9.984, allocations: 0.9862 MB / 3.511 GB, free: 49.39 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/9.984, allocations: 259.5 kB / 3.511 GB, free: 49.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/9.984, allocations: 0 / 3.511 GB, free: 49.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/9.985, allocations: 32.08 kB / 3.511 GB, free: 49.22 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/9.985, allocations: 41.11 kB / 3.511 GB, free: 49.22 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/9.985, allocations: 12.28 kB / 3.511 GB, free: 49.22 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000462/9.986, allocations: 315.4 kB / 3.511 GB, free: 49.13 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/9.986, allocations: 0 / 3.511 GB, free: 49.13 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.005781/9.991, allocations: 1.147 MB / 3.512 GB, free: 48.95 MB / 0.4952 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.01009/10, allocations: 1.482 MB / 3.514 GB, free: 48.67 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001436/10, allocations: 0.6505 MB / 3.515 GB, free: 48.66 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/10, allocations: 0 / 3.515 GB, free: 48.66 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/10, allocations: 436.9 kB / 3.515 GB, free: 48.66 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/10.01, allocations: 198.4 kB / 3.515 GB, free: 48.65 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/10.01, allocations: 1.132 MB / 3.516 GB, free: 48.34 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/10.01, allocations: 0.9868 MB / 3.517 GB, free: 47.64 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/10.01, allocations: 54 kB / 3.517 GB, free: 47.64 MB / 0.4952 GB Notification: Performance of SimCode: time 1.072e-06/10.01, allocations: 0 / 3.517 GB, free: 47.64 MB / 0.4952 GB Notification: Performance of Templates: time 0.05853/10.07, allocations: 27.86 MB / 3.544 GB, free: 44.91 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches