Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001413/0.001413, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2175/0.2175, allocations: 44.93 MB / 358.8 MB, free: 6.035 MB / 286.1 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2085/0.5284, allocations: 161.7 MB / 0.7149 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.5341, allocations: 3.028 MB / 0.7179 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.5347, allocations: 19.81 kB / 0.7179 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.5356, allocations: 317.9 kB / 0.7182 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.5393, allocations: 1.431 MB / 0.7196 GB, free: 408 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.5413, allocations: 0.7326 MB / 0.7203 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.5435, allocations: 1.578 MB / 0.7218 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.544, allocations: 371.7 kB / 0.7222 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.545, allocations: 0.6111 MB / 0.7228 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.5457, allocations: 462 kB / 0.7232 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.5458, allocations: 52 kB / 0.7233 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.5479, allocations: 0.9048 MB / 0.7242 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.5481, allocations: 155.5 kB / 0.7243 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.5484, allocations: 302.7 kB / 0.7246 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.5507, allocations: 1.445 MB / 0.726 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5507, allocations: 0 / 0.726 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5507, allocations: 4 kB / 0.726 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.5507, allocations: 0 / 0.726 GB, free: 9.789 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001943/0.5527, allocations: 1.002 MB / 0.727 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5527, allocations: 8.031 kB / 0.727 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.5528, allocations: 86.52 kB / 0.7271 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5539, allocations: 151.4 kB / 0.7272 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.5548, allocations: 433.6 kB / 0.7276 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.5548, allocations: 36.94 kB / 0.7277 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.5549, allocations: 44 kB / 0.7277 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5562, allocations: 0.8918 MB / 0.7286 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5562, allocations: 4 kB / 0.7286 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.5563, allocations: 16 kB / 0.7286 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5563, allocations: 12 kB / 0.7286 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.5573, allocations: 487.5 kB / 0.7291 GB, free: 6.461 MB / 0.5606 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.00302/0.5603, allocations: 1.974 MB / 0.731 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.5611, allocations: 332.8 kB / 0.7313 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.5615, allocations: 157.3 kB / 0.7315 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.5617, allocations: 52.17 kB / 0.7315 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.5617, allocations: 42.78 kB / 0.7316 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.5617, allocations: 0 / 0.7316 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001801/0.5636, allocations: 0.6554 MB / 0.7322 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.5636, allocations: 132.5 kB / 0.7323 GB, free: 3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.5643, allocations: 0.498 MB / 0.7328 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.5644, allocations: 29.7 kB / 0.7329 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.5646, allocations: 288.3 kB / 0.7331 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5647, allocations: 122.9 kB / 0.7332 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.5649, allocations: 110.1 kB / 0.7334 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5651, allocations: 362.8 kB / 0.7337 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.5654, allocations: 148.8 kB / 0.7338 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.5659, allocations: 364.8 kB / 0.7342 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.5667, allocations: 433.7 kB / 0.7346 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5667, allocations: 0 / 0.7346 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.2393/0.806, allocations: 0.5512 MB / 0.7351 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.806, allocations: 7.234 kB / 0.7351 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.806, allocations: 3.844 kB / 0.7352 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.8077, allocations: 249.2 kB / 0.7354 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.8081, allocations: 101 kB / 0.7355 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.8086, allocations: 0.5962 MB / 0.7361 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.8089, allocations: 51.72 kB / 0.7361 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8091, allocations: 45.42 kB / 0.7362 GB, free: 178.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002756/0.8093, allocations: 187 kB / 0.7363 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8095, allocations: 59.34 kB / 0.7364 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.8116, allocations: 1.092 MB / 0.7375 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.8116, allocations: 3.562 kB / 0.7375 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8116, allocations: 4.188 kB / 0.7375 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.8116, allocations: 2.609 kB / 0.7375 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.8132, allocations: 0.9379 MB / 0.7384 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8132, allocations: 4.453 kB / 0.7384 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.8134, allocations: 56.28 kB / 0.7384 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.8163, allocations: 445.2 kB / 0.7389 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.8163, allocations: 7.781 kB / 0.7389 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003362/0.8167, allocations: 0.6163 MB / 0.7395 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8167, allocations: 3.938 kB / 0.7395 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.8174, allocations: 0.5096 MB / 0.74 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.8176, allocations: 65.72 kB / 0.74 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.8176, allocations: 9.781 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.818, allocations: 26.12 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.818, allocations: 31.81 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.8181, allocations: 12.09 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004353/0.8185, allocations: 426.5 kB / 0.7405 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8185, allocations: 0 / 0.7405 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007696/0.8193, allocations: 289.9 kB / 0.7408 GB, free: 176.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001451/0.8207, allocations: 1.321 MB / 0.7421 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008234/0.8215, allocations: 362.1 kB / 0.7424 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8215, allocations: 0 / 0.7424 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.8219, allocations: 164.1 kB / 0.7426 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.8233, allocations: 362.9 kB / 0.7429 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.8285, allocations: 4.928 MB / 0.7478 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.8286, allocations: 267.5 kB / 0.748 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008927/0.8295, allocations: 0.555 MB / 0.7485 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.8298, allocations: 231.3 kB / 0.7488 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.8298, allocations: 4 kB / 0.7488 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.8779, allocations: 23.45 MB / 0.7717 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.31, allocations: 8 kB / 0.7717 GB, free: 145.2 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: 17.3599409670569]