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.001/0.001, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001006/0.001006, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.202/0.202, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 64.08 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3494, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1903/0.5397, allocations: 181.1 MB / 0.6953 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006435/0.5461, allocations: 4.588 MB / 0.6998 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.5469, allocations: 15.94 kB / 0.6998 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.548, allocations: 345.7 kB / 0.7001 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.553, allocations: 1.778 MB / 0.7019 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.5554, allocations: 0.9462 MB / 0.7028 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.558, allocations: 1.695 MB / 0.7045 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.5588, allocations: 438.2 kB / 0.7049 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.5606, allocations: 0.8448 MB / 0.7057 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.5615, allocations: 0.4942 MB / 0.7062 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5616, allocations: 52 kB / 0.7062 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.5643, allocations: 1.295 MB / 0.7075 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.5645, allocations: 179.4 kB / 0.7077 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.5651, allocations: 370.4 kB / 0.708 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.568, allocations: 1.625 MB / 0.7096 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.568, allocations: 0 / 0.7096 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.568, allocations: 0 / 0.7096 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.5681, allocations: 3.984 kB / 0.7096 GB, free: 7.633 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.002354/0.5704, allocations: 1.102 MB / 0.7107 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5705, allocations: 15.97 kB / 0.7107 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.5706, allocations: 86.52 kB / 0.7108 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.5719, allocations: 155.1 kB / 0.7109 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/0.5727, allocations: 0.4964 MB / 0.7114 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.5727, allocations: 40.98 kB / 0.7115 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.5728, allocations: 43.94 kB / 0.7115 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5739, allocations: 0.6439 MB / 0.7121 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5739, allocations: 0 / 0.7121 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.574, allocations: 20 kB / 0.7121 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.574, allocations: 11.94 kB / 0.7122 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.5749, allocations: 0.4956 MB / 0.7126 GB, free: 4.379 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.003023/0.5779, allocations: 2.648 MB / 0.7152 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.5786, allocations: 318.8 kB / 0.7155 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.5789, allocations: 156.8 kB / 0.7157 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/0.5793, allocations: 441.5 kB / 0.7161 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5793, allocations: 50.36 kB / 0.7162 GB, free: 496 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.5793, allocations: 0 / 0.7162 GB, free: 496 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.2273/0.8066, allocations: 0.6885 MB / 0.7168 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8067, allocations: 161.9 kB / 0.717 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/0.8075, allocations: 0.5201 MB / 0.7175 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.8076, allocations: 32.48 kB / 0.7175 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8079, allocations: 308.4 kB / 0.7178 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.808, allocations: 122.3 kB / 0.7179 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.8082, allocations: 117.3 kB / 0.718 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.8083, allocations: 364.8 kB / 0.7184 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.8086, allocations: 147.9 kB / 0.7185 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.809, allocations: 324.8 kB / 0.7188 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/0.8096, allocations: 476.7 kB / 0.7193 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8096, allocations: 4.719 kB / 0.7193 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001014/0.8106, allocations: 0.5681 MB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8107, allocations: 7.781 kB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8107, allocations: 4.562 kB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.8123, allocations: 237.3 kB / 0.7201 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.8128, allocations: 122.9 kB / 0.7202 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003589/0.8131, allocations: 0.5916 MB / 0.7208 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.8135, allocations: 57.55 kB / 0.7208 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/0.8136, allocations: 55.86 kB / 0.7209 GB, free: 188.1 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.0002417/0.8138, allocations: 187.2 kB / 0.7211 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.814, allocations: 62.53 kB / 0.7211 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.8159, allocations: 1.101 MB / 0.7222 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8159, allocations: 3.531 kB / 0.7222 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8159, allocations: 0.6562 kB / 0.7222 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.8159, allocations: 5.344 kB / 0.7222 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.8172, allocations: 1.017 MB / 0.7232 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.8172, allocations: 2.797 kB / 0.7232 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.8174, allocations: 56.31 kB / 0.7233 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/0.8208, allocations: 441 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.8208, allocations: 10.91 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/0.8211, allocations: 0.5992 MB / 0.7243 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.8211, allocations: 1.438 kB / 0.7243 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.8218, allocations: 0.4994 MB / 0.7248 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8219, allocations: 142.1 kB / 0.7249 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.822, allocations: 13.97 kB / 0.7249 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.8224, allocations: 14.5 kB / 0.7249 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.8225, allocations: 35.5 kB / 0.725 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.8225, allocations: 20.22 kB / 0.725 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005119/0.823, allocations: 440.2 kB / 0.7254 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.823, allocations: 0 / 0.7254 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008906/0.8239, allocations: 295.3 kB / 0.7257 GB, free: 185.6 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.001496/0.8254, allocations: 1.321 MB / 0.727 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007443/0.8262, allocations: 377.9 kB / 0.7273 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8262, allocations: 2.406 kB / 0.7273 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.8265, allocations: 156 kB / 0.7275 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8281, allocations: 407 kB / 0.7279 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.834, allocations: 5.015 MB / 0.7328 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.8344, allocations: 0.8691 MB / 0.7336 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8354, allocations: 0.5694 MB / 0.7342 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.8358, allocations: 241.8 kB / 0.7344 GB, free: 180 MB / 0.5606 GB Notification: Performance of SimCode: time 1.021e-06/0.8358, allocations: 0 / 0.7344 GB, free: 180 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.8782, allocations: 23.32 MB / 0.7572 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.01, allocations: 24.97 kB / 0.7572 GB, free: 160.7 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