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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9095/0.9095, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 32.78 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.13e-05, allocations: 8.812 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3332/0.3332, allocations: 159.9 MB / 0.5854 GB, free: 4.727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.3375, allocations: 4.275 MB / 0.5896 GB, free: 460 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.3378, allocations: 27.69 kB / 0.5896 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.3385, allocations: 329.6 kB / 0.5899 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.3414, allocations: 1.874 MB / 0.5918 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.3429, allocations: 0.9782 MB / 0.5927 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3441, allocations: 1.733 MB / 0.5944 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.3445, allocations: 370.5 kB / 0.5948 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009976/0.3455, allocations: 1.095 MB / 0.5958 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.3459, allocations: 474.6 kB / 0.5963 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.346, allocations: 56 kB / 0.5964 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3471, allocations: 0.9903 MB / 0.5973 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3473, allocations: 187.3 kB / 0.5975 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3475, allocations: 271.4 kB / 0.5978 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3487, allocations: 1.687 MB / 0.5994 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3487, allocations: 0 / 0.5994 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3487, allocations: 0 / 0.5994 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3487, allocations: 0 / 0.5994 GB, free: 6.395 MB / 0.4948 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.001229/0.35, allocations: 1.045 MB / 0.6004 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.35, allocations: 8.031 kB / 0.6004 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.3501, allocations: 86.52 kB / 0.6005 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.3507, allocations: 175.4 kB / 0.6007 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.3513, allocations: 449.5 kB / 0.6011 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3513, allocations: 37 kB / 0.6011 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.3514, allocations: 44 kB / 0.6012 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.3522, allocations: 1.054 MB / 0.6022 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3522, allocations: 1.5 kB / 0.6022 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.3522, allocations: 23.94 kB / 0.6022 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3522, allocations: 12 kB / 0.6023 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.3528, allocations: 499.6 kB / 0.6027 GB, free: 2.77 MB / 0.4948 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.001693/0.3545, allocations: 2.087 MB / 0.6048 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3549, allocations: 298.8 kB / 0.6051 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3551, allocations: 145.4 kB / 0.6052 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.3552, allocations: 55.81 kB / 0.6052 GB, free: 112 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3552, allocations: 42.5 kB / 0.6053 GB, free: 60 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.3552, allocations: 0 / 0.6053 GB, free: 60 kB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0009682/0.3562, allocations: 0.6352 MB / 0.6059 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3563, allocations: 162.2 kB / 0.6061 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.3566, allocations: 0.5339 MB / 0.6066 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3567, allocations: 33.7 kB / 0.6066 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3569, allocations: 304.1 kB / 0.6069 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.3569, allocations: 126.9 kB / 0.607 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3571, allocations: 120.5 kB / 0.6071 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.3572, allocations: 370.7 kB / 0.6075 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3573, allocations: 140.9 kB / 0.6076 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.3576, allocations: 426.2 kB / 0.608 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.3581, allocations: 478.7 kB / 0.6085 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3581, allocations: 0 / 0.6085 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006177/0.3587, allocations: 0.5792 MB / 0.6091 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3587, allocations: 8 kB / 0.6091 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3587, allocations: 4 kB / 0.6091 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.3594, allocations: 249.1 kB / 0.6093 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3596, allocations: 123.8 kB / 0.6094 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003024/0.36, allocations: 0.5946 MB / 0.61 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3601, allocations: 59.55 kB / 0.6101 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.3602, allocations: 51.98 kB / 0.6101 GB, free: 10.84 MB / 0.5105 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.0001617/0.3603, allocations: 193.6 kB / 0.6103 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.3604, allocations: 63.62 kB / 0.6104 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3615, allocations: 1.107 MB / 0.6114 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3615, allocations: 8 kB / 0.6114 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3615, allocations: 2.438 kB / 0.6114 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3615, allocations: 3.984 kB / 0.6115 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.3623, allocations: 0.9134 MB / 0.6123 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3623, allocations: 0 / 0.6123 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.3624, allocations: 47.92 kB / 0.6124 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.3638, allocations: 448.4 kB / 0.6128 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3638, allocations: 12 kB / 0.6128 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002633/0.3641, allocations: 0.5991 MB / 0.6134 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3641, allocations: 4.031 kB / 0.6134 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.3648, allocations: 0.5032 MB / 0.6139 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.3648, allocations: 67.55 kB / 0.614 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.3649, allocations: 15.92 kB / 0.614 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3651, allocations: 13.38 kB / 0.614 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3651, allocations: 32.02 kB / 0.614 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3651, allocations: 19.98 kB / 0.6141 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003396/0.3655, allocations: 447 kB / 0.6145 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3655, allocations: 0 / 0.6145 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005181/0.366, allocations: 303.3 kB / 0.6148 GB, free: 5.91 MB / 0.5105 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.001086/0.3671, allocations: 1.331 MB / 0.6161 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.3675, allocations: 348.8 kB / 0.6164 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3675, allocations: 7.938 kB / 0.6164 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3677, allocations: 148.7 kB / 0.6165 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.3687, allocations: 402 kB / 0.6169 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.3731, allocations: 5.04 MB / 0.6219 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3733, allocations: 268 kB / 0.6221 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007007/0.374, allocations: 0.5688 MB / 0.6227 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.3742, allocations: 244.4 kB / 0.6229 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of SimCode: time 4.4e-07/0.3742, allocations: 0 / 0.6229 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/0.5751, allocations: 25.2 MB / 0.6475 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.666, allocations: 6.859 kB / 0.6475 GB, free: 163.7 MB / 0.5261 GB " [Timeout remaining time 651] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.811434212140739]