Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00127/0.00127, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001445/0.001445, allocations: 214.1 kB / 23.73 MB, free: 4.387 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.386/1.386, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1942/0.5024, allocations: 161.7 MB / 0.7185 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.508, allocations: 3.028 MB / 0.7215 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.5085, allocations: 27.75 kB / 0.7215 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.5094, allocations: 309.9 kB / 0.7218 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.513, allocations: 1.434 MB / 0.7232 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.5149, allocations: 0.7397 MB / 0.7239 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.517, allocations: 1.586 MB / 0.7255 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/0.5177, allocations: 363.8 kB / 0.7258 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.5187, allocations: 0.6111 MB / 0.7264 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.5194, allocations: 494 kB / 0.7269 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.61e-05/0.5195, allocations: 52 kB / 0.7269 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5215, allocations: 0.9361 MB / 0.7279 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.5217, allocations: 171.3 kB / 0.728 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.5221, allocations: 290.8 kB / 0.7283 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.5243, allocations: 1.452 MB / 0.7297 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5243, allocations: 0 / 0.7297 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5243, allocations: 0 / 0.7297 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5243, allocations: 4 kB / 0.7297 GB, free: 6.387 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.002034/0.5263, allocations: 0.9945 MB / 0.7307 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5263, allocations: 11.97 kB / 0.7307 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.5265, allocations: 82.53 kB / 0.7308 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.5274, allocations: 143.5 kB / 0.7309 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.5284, allocations: 433.6 kB / 0.7313 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.5284, allocations: 40.88 kB / 0.7314 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.5285, allocations: 43.94 kB / 0.7314 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5298, allocations: 0.9035 MB / 0.7323 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5298, allocations: 0 / 0.7323 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.5299, allocations: 20 kB / 0.7323 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5299, allocations: 12 kB / 0.7323 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.5309, allocations: 483.6 kB / 0.7328 GB, free: 3.062 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.002993/0.5339, allocations: 1.966 MB / 0.7347 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.5347, allocations: 334.4 kB / 0.735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.535, allocations: 161.3 kB / 0.7352 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.5353, allocations: 44.33 kB / 0.7352 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.5353, allocations: 42.78 kB / 0.7353 GB, free: 444 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.5353, allocations: 0 / 0.7353 GB, free: 444 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2371/0.7724, allocations: 0.6604 MB / 0.7359 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.7725, allocations: 133.6 kB / 0.736 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.7733, allocations: 0.4944 MB / 0.7365 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.7734, allocations: 32.27 kB / 0.7365 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.7736, allocations: 291.2 kB / 0.7368 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.7737, allocations: 116.6 kB / 0.7369 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.774, allocations: 108.3 kB / 0.737 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7741, allocations: 359.5 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.7744, allocations: 153.1 kB / 0.7375 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.775, allocations: 359.8 kB / 0.7379 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.7758, allocations: 445.5 kB / 0.7383 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7758, allocations: 1.062 kB / 0.7383 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00112/0.7769, allocations: 0.5475 MB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7769, allocations: 7.969 kB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7769, allocations: 5.156 kB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.7785, allocations: 245.8 kB / 0.7391 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.7789, allocations: 109.3 kB / 0.7392 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003465/0.7792, allocations: 0.5953 MB / 0.7398 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.7796, allocations: 51.31 kB / 0.7398 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.7797, allocations: 49.75 kB / 0.7399 GB, free: 174.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.0002263/0.7799, allocations: 179.2 kB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.78, allocations: 59.97 kB / 0.7401 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.7818, allocations: 1.095 MB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.7818, allocations: 3.562 kB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7818, allocations: 3.938 kB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7818, allocations: 5.641 kB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.7829, allocations: 0.9352 MB / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.783, allocations: 3.625 kB / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.7831, allocations: 48.02 kB / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/0.7864, allocations: 450.2 kB / 0.7426 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.7864, allocations: 8.781 kB / 0.7426 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003261/0.7867, allocations: 0.6066 MB / 0.7432 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7867, allocations: 1.219 kB / 0.7432 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.7874, allocations: 0.5143 MB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.7875, allocations: 69.8 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/0.7876, allocations: 10.39 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.788, allocations: 18.45 kB / 0.7438 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.788, allocations: 31.91 kB / 0.7438 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.7881, allocations: 21.48 kB / 0.7438 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004409/0.7885, allocations: 418.8 kB / 0.7442 GB, free: 171 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7885, allocations: 0 / 0.7442 GB, free: 171 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008821/0.7894, allocations: 287.7 kB / 0.7445 GB, free: 170.8 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.001594/0.791, allocations: 1.324 MB / 0.7458 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.7918, allocations: 370.4 kB / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7918, allocations: 0 / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.792, allocations: 161.9 kB / 0.7463 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7935, allocations: 360.2 kB / 0.7466 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.7986, allocations: 4.929 MB / 0.7514 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.7987, allocations: 263.5 kB / 0.7517 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008263/0.7995, allocations: 0.5604 MB / 0.7522 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.7999, allocations: 227.3 kB / 0.7525 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/0.7999, allocations: 0 / 0.7525 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.8461, allocations: 23.57 MB / 0.7755 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.74, allocations: 11.3 kB / 0.7755 GB, free: 139.2 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.65021503600292]