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.001009/0.001009, allocations: 103.3 kB / 16.02 MB, free: 76 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.001134/0.001134, allocations: 185.1 kB / 16.92 MB, free: 6.918 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.539/1.539, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.3603/0.3603, allocations: 43.58 MB / 315 MB, free: 8.969 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.0005127/0.0005127, allocations: 12 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4286/0.5539, allocations: 183.4 MB / 0.6123 GB, free: 3.852 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5643, allocations: 7.088 MB / 0.6192 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5654, allocations: 15.88 kB / 0.6192 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.5662, allocations: 290.4 kB / 0.6195 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006926/0.5732, allocations: 2.058 MB / 0.6215 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.5756, allocations: 0.8555 MB / 0.6224 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.5784, allocations: 2.179 MB / 0.6245 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.579, allocations: 385.1 kB / 0.6249 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.5805, allocations: 0.7667 MB / 0.6256 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.5811, allocations: 0.5058 MB / 0.6261 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.5812, allocations: 32 kB / 0.6261 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.5842, allocations: 1.365 MB / 0.6275 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.5844, allocations: 155.4 kB / 0.6276 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.5848, allocations: 372.1 kB / 0.628 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.5874, allocations: 1.71 MB / 0.6296 GB, free: 2.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.5874, allocations: 0 / 0.6296 GB, free: 2.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5874, allocations: 0 / 0.6296 GB, free: 2.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5874, allocations: 4 kB / 0.6296 GB, free: 2.07 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.001947/0.5894, allocations: 0.9833 MB / 0.6306 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5894, allocations: 8.031 kB / 0.6306 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.5896, allocations: 98.45 kB / 0.6307 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5907, allocations: 155 kB / 0.6309 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.5914, allocations: 496.9 kB / 0.6313 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.5914, allocations: 37 kB / 0.6314 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.5915, allocations: 40 kB / 0.6314 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2119/0.8034, allocations: 0.6394 MB / 0.632 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8035, allocations: 0 / 0.632 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/0.8036, allocations: 25.88 kB / 0.632 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.8036, allocations: 11.91 kB / 0.6321 GB, free: 156.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.8045, allocations: 0.4944 MB / 0.6325 GB, free: 156.4 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.002655/0.8071, allocations: 2.663 MB / 0.6351 GB, free: 154.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.8077, allocations: 323.9 kB / 0.6355 GB, free: 154.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.808, allocations: 162.5 kB / 0.6356 GB, free: 154.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.809, allocations: 1.321 MB / 0.6369 GB, free: 153.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.809, allocations: 36.88 kB / 0.6369 GB, free: 153.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.462e-06/0.809, allocations: 5.328 kB / 0.6369 GB, free: 153.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001501/0.8105, allocations: 0.7031 MB / 0.6376 GB, free: 153.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.8106, allocations: 159.5 kB / 0.6378 GB, free: 153.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.8112, allocations: 0.5224 MB / 0.6383 GB, free: 153.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.8112, allocations: 32.05 kB / 0.6383 GB, free: 153.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.8114, allocations: 298.3 kB / 0.6386 GB, free: 152.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.8115, allocations: 128.8 kB / 0.6387 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.8116, allocations: 42.86 kB / 0.6388 GB, free: 152.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.8117, allocations: 368.5 kB / 0.6391 GB, free: 152.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.812, allocations: 144.6 kB / 0.6393 GB, free: 152.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.8123, allocations: 320.8 kB / 0.6396 GB, free: 152.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.8129, allocations: 480.2 kB / 0.64 GB, free: 152.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.813, allocations: 2.781 kB / 0.64 GB, free: 152.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009743/0.8139, allocations: 0.571 MB / 0.6406 GB, free: 152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.814, allocations: 5.781 kB / 0.6406 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.814, allocations: 6.312 kB / 0.6406 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.8155, allocations: 291.1 kB / 0.6409 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.8159, allocations: 115.3 kB / 0.641 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004565/0.8164, allocations: 0.594 MB / 0.6416 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.8168, allocations: 69.52 kB / 0.6416 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.8169, allocations: 52.56 kB / 0.6417 GB, free: 151.4 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.0002448/0.8172, allocations: 193.1 kB / 0.6419 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.8173, allocations: 62.17 kB / 0.6419 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.8187, allocations: 0.7475 MB / 0.6426 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8187, allocations: 6.562 kB / 0.6427 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8187, allocations: 1.938 kB / 0.6427 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8187, allocations: 4.281 kB / 0.6427 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.8202, allocations: 1.019 MB / 0.6437 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.8202, allocations: 0 / 0.6437 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8204, allocations: 53.61 kB / 0.6437 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.8236, allocations: 0.5386 MB / 0.6442 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.8236, allocations: 6.969 kB / 0.6442 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003493/0.824, allocations: 0.5948 MB / 0.6448 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.824, allocations: 13.42 kB / 0.6448 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.8246, allocations: 0.4946 MB / 0.6453 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.8248, allocations: 178.7 kB / 0.6455 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.8249, allocations: 14.11 kB / 0.6455 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.8253, allocations: 21.23 kB / 0.6455 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.8253, allocations: 30.64 kB / 0.6455 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.8254, allocations: 26.38 kB / 0.6456 GB, free: 149.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.8259, allocations: 437.8 kB / 0.646 GB, free: 149.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8259, allocations: 0 / 0.646 GB, free: 149.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001035/0.8269, allocations: 332.7 kB / 0.6463 GB, free: 149.6 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.001694/0.8286, allocations: 1.399 MB / 0.6477 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.8294, allocations: 376.1 kB / 0.648 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.8294, allocations: 11.11 kB / 0.648 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.8297, allocations: 150.1 kB / 0.6482 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.8317, allocations: 396.6 kB / 0.6486 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.8374, allocations: 5.415 MB / 0.6539 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.8377, allocations: 0.8724 MB / 0.6547 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009436/0.8387, allocations: 229.1 kB / 0.6549 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.839, allocations: 234.3 kB / 0.6551 GB, free: 144.1 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.8391, allocations: 0 / 0.6551 GB, free: 144.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.8896, allocations: 22.89 MB / 0.6775 GB, free: 138.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.8899, allocations: 288.8 kB / 0.6778 GB, free: 138.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.3, allocations: 0 / 0.6778 GB, free: 138.3 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