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/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 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 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 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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_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.001786/0.001785, allocations: 104.9 kB / 15.98 MB, free: 6.348 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.00209/0.00209, allocations: 189.4 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2585/0.2585, allocations: 43.49 MB / 313.6 MB, free: 8.461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 63.91 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3747/0.479, allocations: 185.6 MB / 0.611 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00868/0.4877, allocations: 7.046 MB / 0.6179 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.4884, allocations: 23.88 kB / 0.6179 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.4895, allocations: 290.4 kB / 0.6182 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006125/0.4956, allocations: 2.175 MB / 0.6203 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.4979, allocations: 0.8786 MB / 0.6212 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5, allocations: 1.703 MB / 0.6228 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/0.5008, allocations: 433.3 kB / 0.6233 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.5024, allocations: 0.8448 MB / 0.6241 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.5033, allocations: 0.537 MB / 0.6246 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.5034, allocations: 52 kB / 0.6247 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.5061, allocations: 1.42 MB / 0.626 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.5063, allocations: 179.5 kB / 0.6262 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.507, allocations: 378.4 kB / 0.6266 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003267/0.5102, allocations: 1.749 MB / 0.6283 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5102, allocations: 0 / 0.6283 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5103, allocations: 3.938 kB / 0.6283 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.5103, allocations: 3.984 kB / 0.6283 GB, free: 0.6328 MB / 494.1 MB 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.1544/0.6647, allocations: 1.127 MB / 0.6294 GB, free: 159.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6647, allocations: 18.8 kB / 0.6294 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.512e-05/0.6648, allocations: 90.59 kB / 0.6295 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.6661, allocations: 158.2 kB / 0.6296 GB, free: 159.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.6666, allocations: 0.4894 MB / 0.6301 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6666, allocations: 35.06 kB / 0.6302 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.6667, allocations: 44.5 kB / 0.6302 GB, free: 159.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.6676, allocations: 0.639 MB / 0.6308 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6676, allocations: 6.594 kB / 0.6308 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.6676, allocations: 17.5 kB / 0.6308 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6677, allocations: 11.59 kB / 0.6309 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.6684, allocations: 0.496 MB / 0.6313 GB, free: 159.3 MB / 494.1 MB 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.002053/0.6704, allocations: 2.657 MB / 0.6339 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.671, allocations: 325.9 kB / 0.6342 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.6712, allocations: 158.1 kB / 0.6344 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009032/0.6721, allocations: 1.306 MB / 0.6357 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.6721, allocations: 45.03 kB / 0.6357 GB, free: 156.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.6721, allocations: 0 / 0.6357 GB, free: 156.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001273/0.6734, allocations: 0.6964 MB / 0.6364 GB, free: 156.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.6734, allocations: 161.8 kB / 0.6366 GB, free: 155.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.6739, allocations: 0.5175 MB / 0.6371 GB, free: 155.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.6739, allocations: 32.77 kB / 0.6371 GB, free: 155.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.674, allocations: 300.8 kB / 0.6374 GB, free: 155.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.6741, allocations: 128.5 kB / 0.6375 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.6742, allocations: 117.9 kB / 0.6376 GB, free: 155.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.6743, allocations: 361.7 kB / 0.638 GB, free: 154.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.6745, allocations: 144.1 kB / 0.6381 GB, free: 154.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.6748, allocations: 325.5 kB / 0.6384 GB, free: 154.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.6753, allocations: 476.9 kB / 0.6389 GB, free: 154.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6753, allocations: 4.891 kB / 0.6389 GB, free: 154.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007729/0.6761, allocations: 0.5603 MB / 0.6394 GB, free: 154.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6761, allocations: 5.938 kB / 0.6394 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6761, allocations: 7.781 kB / 0.6394 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.6775, allocations: 240.5 kB / 0.6397 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.6778, allocations: 114.9 kB / 0.6398 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002765/0.6781, allocations: 0.5885 MB / 0.6403 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.6785, allocations: 73.31 kB / 0.6404 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.6785, allocations: 55.61 kB / 0.6405 GB, free: 153.5 MB / 494.1 MB 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.0001774/0.6787, allocations: 199.2 kB / 0.6406 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6788, allocations: 59.5 kB / 0.6407 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6801, allocations: 0.733 MB / 0.6414 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6801, allocations: 9.656 kB / 0.6414 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6801, allocations: 3.25 kB / 0.6414 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6801, allocations: 3.938 kB / 0.6414 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.6812, allocations: 1.014 MB / 0.6424 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.6812, allocations: 3.938 kB / 0.6424 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.6814, allocations: 58.3 kB / 0.6425 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/0.6843, allocations: 440 kB / 0.6429 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.6844, allocations: 11.58 kB / 0.6429 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002651/0.6846, allocations: 0.5945 MB / 0.6435 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6847, allocations: 3.281 kB / 0.6435 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.6852, allocations: 0.4934 MB / 0.644 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.6853, allocations: 142.9 kB / 0.6441 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.6854, allocations: 13.77 kB / 0.6441 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.6858, allocations: 26.66 kB / 0.6442 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.6858, allocations: 37.75 kB / 0.6442 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.6858, allocations: 19.7 kB / 0.6442 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.6862, allocations: 438.3 kB / 0.6446 GB, free: 151.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6862, allocations: 0 / 0.6446 GB, free: 151.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007607/0.687, allocations: 334.6 kB / 0.6449 GB, free: 151.1 MB / 494.1 MB 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.001426/0.6884, allocations: 1.405 MB / 0.6463 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.6891, allocations: 395.5 kB / 0.6467 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6891, allocations: 0 / 0.6467 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.6893, allocations: 152.6 kB / 0.6468 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.6909, allocations: 414.4 kB / 0.6472 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.6957, allocations: 5.36 MB / 0.6525 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.696, allocations: 0.8713 MB / 0.6533 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008202/0.6968, allocations: 218.6 kB / 0.6535 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.6971, allocations: 226.5 kB / 0.6537 GB, free: 145.7 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6971, allocations: 0 / 0.6537 GB, free: 145.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.737, allocations: 23.68 MB / 0.6769 GB, free: 139.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.7372, allocations: 293.9 kB / 0.6772 GB, free: 139.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.45, allocations: 3.938 kB / 0.6772 GB, free: 139.2 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > 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/jenkins1/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