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.001193/0.001193, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 203.9 kB / 16.79 MB, free: 6.84 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.455/1.455, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.3921/0.3921, allocations: 43.5 MB / 313.5 MB, free: 8.605 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.001544/0.001544, allocations: 67.89 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1387, allocations: 57.79 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4579/0.5967, allocations: 185.9 MB / 0.6112 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.6069, allocations: 7.197 MB / 0.6182 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.6079, allocations: 27.81 kB / 0.6182 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.6089, allocations: 286.4 kB / 0.6185 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.6151, allocations: 2.06 MB / 0.6205 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.6176, allocations: 0.8641 MB / 0.6214 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.6203, allocations: 2.179 MB / 0.6235 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.6209, allocations: 389.4 kB / 0.6239 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.6224, allocations: 0.7668 MB / 0.6246 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.6231, allocations: 0.5136 MB / 0.6251 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.6232, allocations: 28 kB / 0.6251 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.6261, allocations: 1.373 MB / 0.6265 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.6263, allocations: 155.4 kB / 0.6266 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.6267, allocations: 354.3 kB / 0.627 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.6293, allocations: 1.726 MB / 0.6287 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6293, allocations: 0 / 0.6287 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.6293, allocations: 4 kB / 0.6287 GB, free: 428 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.6293, allocations: 0 / 0.6287 GB, free: 428 kB / 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.249/0.8783, allocations: 1.137 MB / 0.6298 GB, free: 160.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.8784, allocations: 8.312 kB / 0.6298 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.8785, allocations: 90.02 kB / 0.6299 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.8797, allocations: 155.9 kB / 0.63 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.8804, allocations: 499.4 kB / 0.6305 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.8804, allocations: 37.72 kB / 0.6305 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.8805, allocations: 42.94 kB / 0.6306 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.8815, allocations: 0.6426 MB / 0.6312 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8815, allocations: 3.938 kB / 0.6312 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.8816, allocations: 22.69 kB / 0.6312 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.8816, allocations: 9.938 kB / 0.6312 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.8824, allocations: 0.4916 MB / 0.6317 GB, free: 159.8 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.002674/0.885, allocations: 2.667 MB / 0.6343 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.8857, allocations: 328 kB / 0.6346 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.8859, allocations: 157.8 kB / 0.6348 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.8869, allocations: 1.303 MB / 0.636 GB, free: 156.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.887, allocations: 42.53 kB / 0.6361 GB, free: 156.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.887, allocations: 0 / 0.6361 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001481/0.8885, allocations: 0.7001 MB / 0.6368 GB, free: 156.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.8886, allocations: 157.2 kB / 0.6369 GB, free: 156.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.8891, allocations: 0.5244 MB / 0.6374 GB, free: 156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.8891, allocations: 32.36 kB / 0.6375 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.8893, allocations: 302 kB / 0.6378 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.8894, allocations: 120.8 kB / 0.6379 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.8896, allocations: 118 kB / 0.638 GB, free: 155.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.8897, allocations: 364 kB / 0.6383 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.8899, allocations: 145.5 kB / 0.6385 GB, free: 155.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.8902, allocations: 322.8 kB / 0.6388 GB, free: 155 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.8908, allocations: 478.5 kB / 0.6392 GB, free: 154.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8908, allocations: 0 / 0.6392 GB, free: 154.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008795/0.8917, allocations: 0.5757 MB / 0.6398 GB, free: 154.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8918, allocations: 5.75 kB / 0.6398 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8918, allocations: 5.844 kB / 0.6398 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.8933, allocations: 238.4 kB / 0.64 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.8937, allocations: 118.2 kB / 0.6401 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/0.8941, allocations: 0.5892 MB / 0.6407 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.8946, allocations: 65.19 kB / 0.6408 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.8946, allocations: 51.91 kB / 0.6408 GB, free: 153.9 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.0002971/0.895, allocations: 201.7 kB / 0.641 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.8951, allocations: 58.19 kB / 0.6411 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.8966, allocations: 0.7442 MB / 0.6418 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.8966, allocations: 9.766 kB / 0.6418 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8966, allocations: 1.344 kB / 0.6418 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8966, allocations: 3.938 kB / 0.6418 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.8979, allocations: 1.01 MB / 0.6428 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.8979, allocations: 6.812 kB / 0.6428 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8981, allocations: 54.7 kB / 0.6429 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.9013, allocations: 445.1 kB / 0.6433 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.9014, allocations: 7.281 kB / 0.6433 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003448/0.9017, allocations: 0.5919 MB / 0.6439 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9017, allocations: 6.812 kB / 0.6439 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.9024, allocations: 0.4966 MB / 0.6444 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.9026, allocations: 145.7 kB / 0.6445 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.9027, allocations: 10.94 kB / 0.6445 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.9031, allocations: 35.23 kB / 0.6445 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.9032, allocations: 29.08 kB / 0.6446 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.9032, allocations: 19.14 kB / 0.6446 GB, free: 151.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005208/0.9037, allocations: 437.6 kB / 0.645 GB, free: 151.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9037, allocations: 0 / 0.645 GB, free: 151.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001077/0.9048, allocations: 337.2 kB / 0.6453 GB, free: 151.4 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.001679/0.9065, allocations: 1.395 MB / 0.6467 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000741/0.9073, allocations: 373.4 kB / 0.6471 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9073, allocations: 0 / 0.6471 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.9076, allocations: 154.5 kB / 0.6472 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.9094, allocations: 397.5 kB / 0.6476 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.9151, allocations: 5.37 MB / 0.6528 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.9154, allocations: 0.8654 MB / 0.6537 GB, free: 146.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.9165, allocations: 219.4 kB / 0.6539 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.9168, allocations: 228.2 kB / 0.6541 GB, free: 146.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.313e-06/0.9168, allocations: 0 / 0.6541 GB, free: 146.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06208/0.9789, allocations: 23.11 MB / 0.6767 GB, free: 140 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.9792, allocations: 290.8 kB / 0.6769 GB, free: 139.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.378, allocations: 0 / 0.6769 GB, free: 139.6 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