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.001477/0.001477, allocations: 100 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 209.7 kB / 18.14 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 76.86 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5539/0.6904, allocations: 184 MB / 0.6478 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.6976, allocations: 3.385 MB / 0.6511 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.699, allocations: 23.81 kB / 0.6512 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.7005, allocations: 266.5 kB / 0.6514 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.7062, allocations: 1.239 MB / 0.6526 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.7089, allocations: 0.6601 MB / 0.6533 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.7123, allocations: 2.047 MB / 0.6553 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.7133, allocations: 375.1 kB / 0.6556 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.7147, allocations: 0.5253 MB / 0.6561 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.7159, allocations: 486 kB / 0.6566 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.7161, allocations: 32 kB / 0.6566 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.719, allocations: 1.111 MB / 0.6577 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.7193, allocations: 131.5 kB / 0.6578 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007088/0.72, allocations: 338.4 kB / 0.6582 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.7233, allocations: 1.473 MB / 0.6596 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.7234, allocations: 8 kB / 0.6596 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7234, allocations: 0 / 0.6596 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.7234, allocations: 0 / 0.6596 GB, free: 15.57 MB / 0.4981 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.002682/0.7261, allocations: 1.052 MB / 0.6606 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7262, allocations: 11.97 kB / 0.6607 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.7263, allocations: 82.53 kB / 0.6607 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.7275, allocations: 147.1 kB / 0.6609 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7286, allocations: 484.4 kB / 0.6613 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.7287, allocations: 33 kB / 0.6614 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.7288, allocations: 43.94 kB / 0.6614 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.7302, allocations: 0.5945 MB / 0.662 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7302, allocations: 0 / 0.662 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.7303, allocations: 24 kB / 0.662 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7304, allocations: 12 kB / 0.662 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.7315, allocations: 483.5 kB / 0.6625 GB, free: 12.5 MB / 0.4981 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.003517/0.735, allocations: 2.667 MB / 0.6651 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.7358, allocations: 346.7 kB / 0.6654 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.7362, allocations: 173.3 kB / 0.6656 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.7367, allocations: 441.8 kB / 0.666 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.7368, allocations: 42.78 kB / 0.666 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.464e-06/0.7368, allocations: 4 kB / 0.666 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001899/0.7387, allocations: 0.7225 MB / 0.6668 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.7388, allocations: 136.5 kB / 0.6669 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.7394, allocations: 494.1 kB / 0.6674 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.7395, allocations: 37.64 kB / 0.6674 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.7398, allocations: 287.7 kB / 0.6677 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.7399, allocations: 114.3 kB / 0.6678 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.7401, allocations: 106.1 kB / 0.6679 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7403, allocations: 362.8 kB / 0.6682 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.7406, allocations: 144.8 kB / 0.6684 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.7411, allocations: 293.3 kB / 0.6686 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.7419, allocations: 437.6 kB / 0.6691 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7419, allocations: 4 kB / 0.6691 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001151/0.7431, allocations: 0.5446 MB / 0.6696 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7431, allocations: 14.66 kB / 0.6696 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7432, allocations: 4 kB / 0.6696 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.7448, allocations: 240.5 kB / 0.6698 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.7452, allocations: 103.9 kB / 0.6699 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000533/0.7457, allocations: 0.5952 MB / 0.6705 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.7462, allocations: 67.56 kB / 0.6706 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.7463, allocations: 44 kB / 0.6706 GB, free: 3.594 MB / 0.4981 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.0002913/0.7466, allocations: 181.6 kB / 0.6708 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.7467, allocations: 55.38 kB / 0.6709 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.7489, allocations: 1.1 MB / 0.6719 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.7489, allocations: 4 kB / 0.6719 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7489, allocations: 0 / 0.6719 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7489, allocations: 7.984 kB / 0.6719 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.7507, allocations: 1.034 MB / 0.6729 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7507, allocations: 3.984 kB / 0.673 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.7509, allocations: 48.14 kB / 0.673 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/0.7543, allocations: 456.1 kB / 0.6734 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.7544, allocations: 8 kB / 0.6734 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005054/0.7549, allocations: 0.6031 MB / 0.674 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7549, allocations: 0 / 0.674 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.7558, allocations: 0.5232 MB / 0.6745 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.756, allocations: 136.3 kB / 0.6747 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7562, allocations: 12 kB / 0.6747 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.7566, allocations: 35.91 kB / 0.6747 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.7567, allocations: 27.91 kB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.7567, allocations: 27.92 kB / 0.6748 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005712/0.7573, allocations: 418.8 kB / 0.6752 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7573, allocations: 0 / 0.6752 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001118/0.7585, allocations: 283.7 kB / 0.6754 GB, free: 14.48 MB / 0.5137 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.002451/0.7609, allocations: 1.326 MB / 0.6767 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.762, allocations: 380.4 kB / 0.6771 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7621, allocations: 0 / 0.6771 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.7625, allocations: 168.8 kB / 0.6773 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.7643, allocations: 352.3 kB / 0.6776 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/0.7726, allocations: 5.223 MB / 0.6827 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.7732, allocations: 0.8596 MB / 0.6835 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00146/0.7747, allocations: 0.5531 MB / 0.6841 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.7752, allocations: 231.3 kB / 0.6843 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/0.7752, allocations: 0 / 0.6843 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.8189, allocations: 20.71 MB / 0.7045 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.8192, allocations: 301.3 kB / 0.7048 GB, free: 352 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.318, allocations: 0 / 0.7048 GB, free: 352 kB / 0.5294 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