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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001215, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001178/0.001178, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 65.36 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08726, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2976/0.3849, allocations: 181 MB / 0.6345 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.3893, allocations: 3.389 MB / 0.6378 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004711/0.3898, allocations: 23.81 kB / 0.6378 GB, free: 8.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.3906, allocations: 274.5 kB / 0.6381 GB, free: 8.301 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.3931, allocations: 1.231 MB / 0.6393 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3945, allocations: 0.6678 MB / 0.6399 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3962, allocations: 2.039 MB / 0.6419 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.3967, allocations: 371.2 kB / 0.6423 GB, free: 3.996 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007103/0.3974, allocations: 0.5214 MB / 0.6428 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.398, allocations: 482 kB / 0.6432 GB, free: 3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.398, allocations: 32 kB / 0.6433 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.3997, allocations: 1.104 MB / 0.6443 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3999, allocations: 151.4 kB / 0.6445 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.4002, allocations: 326.5 kB / 0.6448 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.402, allocations: 1.473 MB / 0.6462 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.402, allocations: 0 / 0.6462 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.402, allocations: 0 / 0.6462 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.402, allocations: 0 / 0.6462 GB, free: 15.92 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00186/0.4039, allocations: 1.056 MB / 0.6473 GB, free: 14.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4039, allocations: 8.031 kB / 0.6473 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.404, allocations: 82.52 kB / 0.6473 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.405, allocations: 147.1 kB / 0.6475 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.4056, allocations: 488.3 kB / 0.6479 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.4057, allocations: 29 kB / 0.648 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.4057, allocations: 43.94 kB / 0.648 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.4068, allocations: 0.5993 MB / 0.6486 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4068, allocations: 11.92 kB / 0.6486 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.4069, allocations: 16 kB / 0.6486 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4069, allocations: 12 kB / 0.6486 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.4078, allocations: 483.6 kB / 0.6491 GB, free: 12.83 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.002569/0.4104, allocations: 2.659 MB / 0.6517 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.4111, allocations: 351.5 kB / 0.652 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4114, allocations: 169.3 kB / 0.6522 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.4117, allocations: 437.9 kB / 0.6526 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4118, allocations: 46.83 kB / 0.6527 GB, free: 8.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.4118, allocations: 0 / 0.6527 GB, free: 8.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001569/0.4133, allocations: 0.7264 MB / 0.6534 GB, free: 8.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.4134, allocations: 136.5 kB / 0.6535 GB, free: 7.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.4139, allocations: 498.1 kB / 0.654 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.4139, allocations: 33.7 kB / 0.654 GB, free: 7.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4141, allocations: 279.7 kB / 0.6543 GB, free: 7.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.4142, allocations: 122.3 kB / 0.6544 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.4144, allocations: 106 kB / 0.6545 GB, free: 6.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4145, allocations: 358.8 kB / 0.6548 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4148, allocations: 148.8 kB / 0.655 GB, free: 6.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.4151, allocations: 283.7 kB / 0.6552 GB, free: 6.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.4158, allocations: 449.6 kB / 0.6557 GB, free: 5.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4158, allocations: 0 / 0.6557 GB, free: 5.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009412/0.4168, allocations: 0.5485 MB / 0.6562 GB, free: 5.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4168, allocations: 14.38 kB / 0.6562 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4168, allocations: 4 kB / 0.6562 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.4183, allocations: 240.5 kB / 0.6565 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.4186, allocations: 99.89 kB / 0.6565 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003833/0.419, allocations: 0.5953 MB / 0.6571 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.4194, allocations: 63.48 kB / 0.6572 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.4194, allocations: 47.98 kB / 0.6572 GB, free: 3.941 MB / 494.1 MB 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.0002027/0.4197, allocations: 190.1 kB / 0.6574 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4198, allocations: 51.53 kB / 0.6575 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.4216, allocations: 1.105 MB / 0.6585 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4216, allocations: 4 kB / 0.6585 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4216, allocations: 0 / 0.6585 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4216, allocations: 4 kB / 0.6586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4229, allocations: 1.03 MB / 0.6596 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4229, allocations: 0 / 0.6596 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.4231, allocations: 55.91 kB / 0.6596 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/0.4264, allocations: 452.2 kB / 0.66 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4264, allocations: 8 kB / 0.6601 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003657/0.4268, allocations: 0.607 MB / 0.6606 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4268, allocations: 4.062 kB / 0.6606 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.4275, allocations: 0.5156 MB / 0.6612 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4276, allocations: 136.3 kB / 0.6613 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.4277, allocations: 11.94 kB / 0.6613 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.4281, allocations: 47.91 kB / 0.6613 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.4281, allocations: 27.91 kB / 0.6614 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.4282, allocations: 16 kB / 0.6614 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004354/0.4286, allocations: 422.8 kB / 0.6618 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4286, allocations: 0 / 0.6618 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007044/0.4293, allocations: 279.8 kB / 0.662 GB, free: 14.81 MB / 0.4981 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.4309, allocations: 1.324 MB / 0.6633 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007326/0.4317, allocations: 375.6 kB / 0.6637 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4317, allocations: 0 / 0.6637 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.432, allocations: 169 kB / 0.6639 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4336, allocations: 357.7 kB / 0.6642 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.4395, allocations: 5.223 MB / 0.6693 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4398, allocations: 0.8557 MB / 0.6701 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001048/0.4408, allocations: 0.5534 MB / 0.6707 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.4412, allocations: 231.3 kB / 0.6709 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4412, allocations: 0 / 0.6709 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.044/1.485, allocations: 20.66 MB / 0.6911 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.485, allocations: 310.5 kB / 0.6914 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.905, allocations: 0 / 0.6914 GB, free: 0.7812 MB / 0.5137 GB (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 --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) 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) Reference file matches