Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 94.53 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3529/0.3529, allocations: 43.47 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.27e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.694, allocations: 0.5913 GB / 1.064 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.695, allocations: 95.16 kB / 1.064 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.781/2.476, allocations: 268.1 MB / 1.326 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/2.476, allocations: 0 / 1.326 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.815e-05/2.476, allocations: 19.06 kB / 1.326 GB, free: 87.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003143/2.479, allocations: 1.196 MB / 1.327 GB, free: 86.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/2.479, allocations: 9.844 kB / 1.327 GB, free: 86.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/2.48, allocations: 148.2 kB / 1.327 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/2.481, allocations: 0.4965 MB / 1.328 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/2.481, allocations: 36.25 kB / 1.328 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/2.481, allocations: 39.75 kB / 1.328 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/2.482, allocations: 0.6396 MB / 1.329 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/2.482, allocations: 8.859 kB / 1.329 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/2.482, allocations: 19.28 kB / 1.329 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/2.482, allocations: 10.91 kB / 1.329 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/2.483, allocations: 494 kB / 1.329 GB, free: 85.93 MB / 0.4948 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.002581/2.485, allocations: 2.628 MB / 1.332 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/2.486, allocations: 308.8 kB / 1.332 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/2.486, allocations: 149.9 kB / 1.332 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/2.486, allocations: 323.1 kB / 1.332 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/2.486, allocations: 38.53 kB / 1.332 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 3.125e-06/2.486, allocations: 0 / 1.332 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0009379/2.487, allocations: 467.2 kB / 1.333 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/2.487, allocations: 161.3 kB / 1.333 GB, free: 82.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/2.488, allocations: 458.9 kB / 1.333 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/2.488, allocations: 37.61 kB / 1.333 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/2.488, allocations: 293.9 kB / 1.334 GB, free: 82.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/2.488, allocations: 134.1 kB / 1.334 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/2.488, allocations: 4 kB / 1.334 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/2.488, allocations: 372 kB / 1.334 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/2.489, allocations: 138.4 kB / 1.334 GB, free: 82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/2.489, allocations: 302.5 kB / 1.335 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/2.489, allocations: 180.2 kB / 1.335 GB, free: 81.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.489, allocations: 0 / 1.335 GB, free: 81.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007506/2.49, allocations: 0.5437 MB / 1.335 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/2.49, allocations: 7.906 kB / 1.335 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/2.49, allocations: 7.312 kB / 1.335 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/2.491, allocations: 238 kB / 1.336 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/2.491, allocations: 116.1 kB / 1.336 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/2.492, allocations: 0.589 MB / 1.336 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/2.492, allocations: 65.59 kB / 1.336 GB, free: 80.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/2.492, allocations: 52.75 kB / 1.336 GB, free: 80.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001122/2.492, allocations: 139.6 kB / 1.337 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/2.492, allocations: 62.22 kB / 1.337 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/2.494, allocations: 0.6967 MB / 1.337 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/2.494, allocations: 3.875 kB / 1.337 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/2.494, allocations: 0 / 1.337 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/2.494, allocations: 0 / 1.337 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/2.495, allocations: 0.949 MB / 1.338 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/2.495, allocations: 0 / 1.338 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/2.495, allocations: 46.98 kB / 1.338 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/2.496, allocations: 238.3 kB / 1.339 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/2.496, allocations: 7.531 kB / 1.339 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003372/2.497, allocations: 0.5827 MB / 1.339 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/2.497, allocations: 3.688 kB / 1.339 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/2.497, allocations: 0.5325 MB / 1.34 GB, free: 78.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/2.497, allocations: 161.4 kB / 1.34 GB, free: 78.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/2.497, allocations: 7.875 kB / 1.34 GB, free: 78.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/2.498, allocations: 29.03 kB / 1.34 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/2.498, allocations: 31.22 kB / 1.34 GB, free: 78.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/2.498, allocations: 18.34 kB / 1.34 GB, free: 78.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004477/2.498, allocations: 403.9 kB / 1.34 GB, free: 78.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.833e-06/2.498, allocations: 0 / 1.34 GB, free: 78.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001703/2.5, allocations: 442.2 kB / 1.341 GB, free: 78.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/2.502, allocations: 1.282 MB / 1.342 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006255/2.503, allocations: 345.9 kB / 1.342 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.503, allocations: 0 / 1.342 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/2.503, allocations: 135.9 kB / 1.342 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/2.504, allocations: 332.3 kB / 1.343 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/2.505, allocations: 0.5872 MB / 1.343 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/2.506, allocations: 0.8807 MB / 1.344 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008443/2.506, allocations: 215.2 kB / 1.344 GB, free: 76.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/2.507, allocations: 79.44 kB / 1.344 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/2.507, allocations: 0 / 1.344 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.03597/2.543, allocations: 29.48 MB / 1.373 GB, free: 58.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches