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.001231/0.001236, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001249/0.001249, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.00144/0.00144, allocations: 67.98 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.0938, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4653/0.5591, allocations: 187.7 MB / 0.6136 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.5699, allocations: 7.019 MB / 0.6205 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.5708, allocations: 18.06 kB / 0.6205 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5721, allocations: 348.7 kB / 0.6208 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007129/0.5793, allocations: 2.367 MB / 0.6231 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.5818, allocations: 0.9493 MB / 0.624 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.5841, allocations: 1.689 MB / 0.6257 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.5849, allocations: 449.2 kB / 0.6261 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.5867, allocations: 0.8402 MB / 0.6269 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009322/0.5877, allocations: 498 kB / 0.6274 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.5879, allocations: 59.94 kB / 0.6275 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.5914, allocations: 1.413 MB / 0.6289 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.5917, allocations: 179.4 kB / 0.629 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.5924, allocations: 370.4 kB / 0.6294 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.596, allocations: 1.734 MB / 0.6311 GB, free: 5.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.596, allocations: 0 / 0.6311 GB, free: 5.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.596, allocations: 0 / 0.6311 GB, free: 5.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.5961, allocations: 0 / 0.6311 GB, free: 5.844 MB / 446.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.002917/0.599, allocations: 1.138 MB / 0.6322 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5991, allocations: 19.88 kB / 0.6322 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.5992, allocations: 94.45 kB / 0.6323 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.6004, allocations: 161.3 kB / 0.6324 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.6013, allocations: 0.4886 MB / 0.6329 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.6013, allocations: 37 kB / 0.633 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.6014, allocations: 40 kB / 0.633 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6027, allocations: 0.6361 MB / 0.6336 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6027, allocations: 0 / 0.6336 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.6028, allocations: 27.94 kB / 0.6336 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.6028, allocations: 16 kB / 0.6337 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.6038, allocations: 0.4917 MB / 0.6341 GB, free: 2.559 MB / 446.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.003576/0.6073, allocations: 2.676 MB / 0.6368 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.6081, allocations: 324.8 kB / 0.6371 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6084, allocations: 156.8 kB / 0.6372 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.6099, allocations: 1.3 MB / 0.6385 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6099, allocations: 38.56 kB / 0.6385 GB, free: 13.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.667e-06/0.61, allocations: 4 kB / 0.6385 GB, free: 13.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.00179/0.6118, allocations: 0.7053 MB / 0.6392 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.6119, allocations: 158.2 kB / 0.6394 GB, free: 12.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.6126, allocations: 0.5223 MB / 0.6399 GB, free: 12.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.6127, allocations: 33.7 kB / 0.6399 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.6129, allocations: 299.7 kB / 0.6402 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6131, allocations: 122.2 kB / 0.6403 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.6133, allocations: 118.2 kB / 0.6404 GB, free: 11.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6134, allocations: 362.8 kB / 0.6408 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.6137, allocations: 141 kB / 0.6409 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.6142, allocations: 326.9 kB / 0.6412 GB, free: 10.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.615, allocations: 470.6 kB / 0.6417 GB, free: 10.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.615, allocations: 4 kB / 0.6417 GB, free: 10.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001088/0.6161, allocations: 0.5674 MB / 0.6422 GB, free: 9.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6161, allocations: 5.406 kB / 0.6422 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6161, allocations: 12 kB / 0.6422 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.6178, allocations: 240.5 kB / 0.6425 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.6182, allocations: 115.8 kB / 0.6426 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005417/0.6187, allocations: 0.586 MB / 0.6431 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.6192, allocations: 59.41 kB / 0.6432 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.6193, allocations: 56.03 kB / 0.6433 GB, free: 8.512 MB / 462.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.0003033/0.6196, allocations: 201.6 kB / 0.6434 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6197, allocations: 63.25 kB / 0.6435 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.6215, allocations: 0.7314 MB / 0.6442 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6215, allocations: 4 kB / 0.6442 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6215, allocations: 4 kB / 0.6442 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6215, allocations: 0 / 0.6442 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.6231, allocations: 1.023 MB / 0.6452 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6232, allocations: 0 / 0.6452 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.6234, allocations: 55.84 kB / 0.6453 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.6267, allocations: 444.4 kB / 0.6457 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.6267, allocations: 8 kB / 0.6457 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.6272, allocations: 0.5952 MB / 0.6463 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6272, allocations: 4.031 kB / 0.6463 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.628, allocations: 0.5006 MB / 0.6468 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.6282, allocations: 136.3 kB / 0.6469 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.6284, allocations: 16 kB / 0.6469 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.6288, allocations: 23.92 kB / 0.647 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.6289, allocations: 31.89 kB / 0.647 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.6289, allocations: 19.98 kB / 0.647 GB, free: 4.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.6295, allocations: 434.8 kB / 0.6474 GB, free: 4.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6295, allocations: 3.938 kB / 0.6474 GB, free: 4.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001124/0.6307, allocations: 331.8 kB / 0.6477 GB, free: 3.719 MB / 462.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.002091/0.6328, allocations: 1.4 MB / 0.6491 GB, free: 2.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.6337, allocations: 383.7 kB / 0.6495 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6337, allocations: 5.25 kB / 0.6495 GB, free: 1.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.634, allocations: 152.7 kB / 0.6496 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.636, allocations: 414.8 kB / 0.65 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.6429, allocations: 5.204 MB / 0.6551 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.6434, allocations: 0.8715 MB / 0.656 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.6444, allocations: 217.1 kB / 0.6562 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.6448, allocations: 227.4 kB / 0.6564 GB, free: 10.56 MB / 478.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6448, allocations: 4 kB / 0.6564 GB, free: 10.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.6947, allocations: 23.84 MB / 0.6797 GB, free: 2.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.53, allocations: 11.03 kB / 0.6797 GB, free: 2.711 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches