Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001287/0.001287, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 76.06 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3648, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2028/0.5677, allocations: 186 MB / 0.7122 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.5729, allocations: 3.256 MB / 0.7153 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/0.5735, allocations: 19.88 kB / 0.7154 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5745, allocations: 321.8 kB / 0.7157 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.5781, allocations: 1.397 MB / 0.717 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5798, allocations: 0.7337 MB / 0.7177 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3252/0.905, allocations: 1.558 MB / 0.7193 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.9061, allocations: 430.3 kB / 0.7197 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.9074, allocations: 0.587 MB / 0.7202 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008164/0.9082, allocations: 460.1 kB / 0.7207 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.9084, allocations: 52.83 kB / 0.7207 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.9108, allocations: 1.202 MB / 0.7219 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.911, allocations: 156.4 kB / 0.7221 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.9114, allocations: 348.4 kB / 0.7224 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.9141, allocations: 1.503 MB / 0.7239 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9141, allocations: 1.688 kB / 0.7239 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9141, allocations: 0 / 0.7239 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9141, allocations: 0.9375 kB / 0.7239 GB, free: 3.285 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.002164/0.9163, allocations: 1.058 MB / 0.7249 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9163, allocations: 9.062 kB / 0.7249 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.75e-05/0.9164, allocations: 82.94 kB / 0.725 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.9175, allocations: 140.7 kB / 0.7251 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008729/0.9184, allocations: 0.4928 MB / 0.7256 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.9184, allocations: 31.16 kB / 0.7256 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.9185, allocations: 40.5 kB / 0.7257 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.9196, allocations: 0.6005 MB / 0.7263 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.9196, allocations: 3.578 kB / 0.7263 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.9197, allocations: 18.78 kB / 0.7263 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.9197, allocations: 15.92 kB / 0.7263 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.9207, allocations: 482.5 kB / 0.7267 GB, free: 18.23 MB / 0.5762 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.003055/0.9238, allocations: 2.668 MB / 0.7294 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.9244, allocations: 358.7 kB / 0.7297 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.9247, allocations: 172 kB / 0.7299 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.9251, allocations: 438.6 kB / 0.7303 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9252, allocations: 42.5 kB / 0.7303 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.9252, allocations: 0 / 0.7303 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001662/0.9268, allocations: 0.7215 MB / 0.731 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.927, allocations: 138.9 kB / 0.7312 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.9275, allocations: 492.6 kB / 0.7316 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.9275, allocations: 36.95 kB / 0.7317 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.9277, allocations: 285.3 kB / 0.7319 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.9278, allocations: 115.3 kB / 0.732 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.928, allocations: 106.7 kB / 0.7321 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9281, allocations: 362.9 kB / 0.7325 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.9285, allocations: 150.8 kB / 0.7326 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.9289, allocations: 281.4 kB / 0.7329 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.9298, allocations: 440.5 kB / 0.7333 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.9298, allocations: 1.812 kB / 0.7333 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001113/0.9309, allocations: 0.5441 MB / 0.7339 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9309, allocations: 5.688 kB / 0.7339 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9309, allocations: 6.484 kB / 0.7339 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.9324, allocations: 239.3 kB / 0.7341 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.9328, allocations: 106.2 kB / 0.7342 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/0.9332, allocations: 0.6013 MB / 0.7348 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.9337, allocations: 49.22 kB / 0.7348 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.9338, allocations: 44.28 kB / 0.7349 GB, free: 13.99 MB / 0.5762 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.0002958/0.9341, allocations: 183.4 kB / 0.735 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.9342, allocations: 51.75 kB / 0.7351 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.9359, allocations: 1.098 MB / 0.7362 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9359, allocations: 2.188 kB / 0.7362 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9359, allocations: 0 / 0.7362 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.9359, allocations: 8.594 kB / 0.7362 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.9374, allocations: 1.03 MB / 0.7372 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.9375, allocations: 0.9375 kB / 0.7372 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.9377, allocations: 54.86 kB / 0.7372 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/0.9407, allocations: 441.5 kB / 0.7377 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.9408, allocations: 20.36 kB / 0.7377 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004117/0.9412, allocations: 0.6037 MB / 0.7383 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9412, allocations: 4.531 kB / 0.7383 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.942, allocations: 0.5169 MB / 0.7388 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.9422, allocations: 131.2 kB / 0.7389 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.9423, allocations: 17.41 kB / 0.7389 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.9426, allocations: 22.02 kB / 0.7389 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.9427, allocations: 30.36 kB / 0.739 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.9427, allocations: 17.97 kB / 0.739 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004443/0.9432, allocations: 421.7 kB / 0.7394 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9432, allocations: 0.9375 kB / 0.7394 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009426/0.9441, allocations: 275.4 kB / 0.7397 GB, free: 12.33 MB / 0.5762 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.001877/0.946, allocations: 1.342 MB / 0.741 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008432/0.9469, allocations: 383 kB / 0.7413 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9469, allocations: 2.812 kB / 0.7413 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.9472, allocations: 164.4 kB / 0.7415 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.9489, allocations: 358.9 kB / 0.7418 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.955, allocations: 4.902 MB / 0.7466 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.9554, allocations: 0.8577 MB / 0.7475 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.9564, allocations: 0.5594 MB / 0.748 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.9568, allocations: 235.5 kB / 0.7482 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.9568, allocations: 0 / 0.7482 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/1.01, allocations: 21.91 MB / 0.7696 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.42, allocations: 6.719 kB / 0.7696 GB, free: 4.164 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches