Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 106.4 kB / 17.77 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.12 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3649, allocations: 60.82 MB / 0.5184 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1948/0.5597, allocations: 181.1 MB / 0.6953 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006669/0.5665, allocations: 4.599 MB / 0.6998 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.567, allocations: 15.88 kB / 0.6998 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.568, allocations: 341.7 kB / 0.7001 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.5724, allocations: 1.779 MB / 0.7019 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.5746, allocations: 0.9462 MB / 0.7028 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.5766, allocations: 1.699 MB / 0.7045 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.5771, allocations: 438.2 kB / 0.7049 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.5785, allocations: 0.8526 MB / 0.7057 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.5791, allocations: 0.4903 MB / 0.7062 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.5792, allocations: 56 kB / 0.7062 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.5819, allocations: 1.287 MB / 0.7075 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.5821, allocations: 175.4 kB / 0.7077 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.5825, allocations: 378.4 kB / 0.708 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.5849, allocations: 1.625 MB / 0.7096 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.585, allocations: 0 / 0.7096 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.947e-06/0.585, allocations: 4 kB / 0.7096 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.585, allocations: 4 kB / 0.7096 GB, free: 7.516 MB / 0.5606 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.001814/0.5868, allocations: 1.099 MB / 0.7107 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5868, allocations: 8.031 kB / 0.7107 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.587, allocations: 86.52 kB / 0.7108 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5881, allocations: 155.2 kB / 0.7109 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/0.5889, allocations: 0.5042 MB / 0.7114 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.589, allocations: 29 kB / 0.7115 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.589, allocations: 48 kB / 0.7115 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5902, allocations: 0.6438 MB / 0.7121 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5902, allocations: 4 kB / 0.7121 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.5903, allocations: 20 kB / 0.7121 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5903, allocations: 12 kB / 0.7122 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.5912, allocations: 0.4918 MB / 0.7126 GB, free: 4.273 MB / 0.5606 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.0034/0.5946, allocations: 2.656 MB / 0.7152 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.5953, allocations: 314.8 kB / 0.7155 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.5956, allocations: 164.8 kB / 0.7157 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/0.5961, allocations: 437.5 kB / 0.7161 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5962, allocations: 54.28 kB / 0.7162 GB, free: 376 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.5962, allocations: 0 / 0.7162 GB, free: 376 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.2767/0.8728, allocations: 0.6893 MB / 0.7168 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.873, allocations: 162.8 kB / 0.717 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.8737, allocations: 0.519 MB / 0.7175 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.8738, allocations: 32.7 kB / 0.7175 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.874, allocations: 298.9 kB / 0.7178 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.8741, allocations: 124.1 kB / 0.7179 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.8743, allocations: 121.4 kB / 0.718 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.8744, allocations: 365.6 kB / 0.7184 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.8747, allocations: 145.3 kB / 0.7185 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.8751, allocations: 322.5 kB / 0.7188 GB, free: 189 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.8757, allocations: 481.2 kB / 0.7193 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.8757, allocations: 2.25 kB / 0.7193 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001029/0.8768, allocations: 0.5662 MB / 0.7199 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.8768, allocations: 8.062 kB / 0.7199 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8768, allocations: 4.75 kB / 0.7199 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.8784, allocations: 240.7 kB / 0.7201 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.8788, allocations: 122.4 kB / 0.7202 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003548/0.8791, allocations: 0.5868 MB / 0.7208 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.8795, allocations: 57.34 kB / 0.7208 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.8796, allocations: 57.41 kB / 0.7209 GB, free: 187.8 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.8799, allocations: 187.7 kB / 0.7211 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.88, allocations: 58.62 kB / 0.7211 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.8819, allocations: 1.102 MB / 0.7222 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.882, allocations: 3.594 kB / 0.7222 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.882, allocations: 0 / 0.7222 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.882, allocations: 11.69 kB / 0.7222 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.8833, allocations: 1.014 MB / 0.7232 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.8833, allocations: 2.438 kB / 0.7232 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.8835, allocations: 55.94 kB / 0.7233 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0031/0.8866, allocations: 438 kB / 0.7237 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.8867, allocations: 13.3 kB / 0.7237 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003127/0.887, allocations: 0.5972 MB / 0.7243 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.887, allocations: 5.406 kB / 0.7243 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.8877, allocations: 0.498 MB / 0.7248 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.8878, allocations: 142.6 kB / 0.7249 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.8879, allocations: 10.02 kB / 0.7249 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.8882, allocations: 13.27 kB / 0.7249 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.8883, allocations: 31.08 kB / 0.725 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.8883, allocations: 21.73 kB / 0.725 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004876/0.8888, allocations: 443.5 kB / 0.7254 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8888, allocations: 0 / 0.7254 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009363/0.8898, allocations: 295.8 kB / 0.7257 GB, free: 185.4 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.8915, allocations: 1.315 MB / 0.727 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008863/0.8924, allocations: 390.8 kB / 0.7273 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8924, allocations: 1.156 kB / 0.7273 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.8927, allocations: 148.2 kB / 0.7275 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.8945, allocations: 405.1 kB / 0.7279 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.9004, allocations: 5.019 MB / 0.7328 GB, free: 181 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.9007, allocations: 0.8666 MB / 0.7336 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001105/0.9018, allocations: 0.5782 MB / 0.7342 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.9022, allocations: 235.4 kB / 0.7344 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.9022, allocations: 4 kB / 0.7344 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.9447, allocations: 23.32 MB / 0.7572 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.46, allocations: 13.03 kB / 0.7572 GB, free: 160.4 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches