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.001605/0.001605, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 73.84 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.153, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5321/0.6851, allocations: 186 MB / 0.6505 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005862/0.691, allocations: 3.256 MB / 0.6537 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.6917, allocations: 19.88 kB / 0.6537 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.6928, allocations: 317.8 kB / 0.654 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.6967, allocations: 1.393 MB / 0.6554 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.6987, allocations: 0.7372 MB / 0.6561 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.7009, allocations: 1.563 MB / 0.6576 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.7016, allocations: 423.5 kB / 0.658 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.7025, allocations: 0.5839 MB / 0.6586 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.7031, allocations: 454.1 kB / 0.659 GB, free: 356 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.7032, allocations: 52 kB / 0.6591 GB, free: 304 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.7057, allocations: 1.162 MB / 0.6602 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.7059, allocations: 163.5 kB / 0.6604 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.7063, allocations: 338.5 kB / 0.6607 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.7085, allocations: 1.508 MB / 0.6622 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7085, allocations: 0 / 0.6622 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7085, allocations: 0 / 0.6622 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.7085, allocations: 0 / 0.6622 GB, free: 13.13 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.001749/0.7103, allocations: 1.056 MB / 0.6632 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7103, allocations: 11.97 kB / 0.6632 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.7105, allocations: 86.52 kB / 0.6633 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/0.7114, allocations: 135.2 kB / 0.6634 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.7121, allocations: 476.5 kB / 0.6639 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.7121, allocations: 33 kB / 0.6639 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.7122, allocations: 43.88 kB / 0.664 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.7133, allocations: 0.5945 MB / 0.6645 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.7133, allocations: 4 kB / 0.6645 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.7134, allocations: 16 kB / 0.6646 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.7134, allocations: 16 kB / 0.6646 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.7143, allocations: 483.6 kB / 0.665 GB, free: 10.06 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.002978/0.7173, allocations: 2.682 MB / 0.6676 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.718, allocations: 362 kB / 0.668 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.7184, allocations: 173.3 kB / 0.6682 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.7189, allocations: 437.8 kB / 0.6686 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.7189, allocations: 38.84 kB / 0.6686 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.7189, allocations: 0 / 0.6686 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001748/0.7207, allocations: 0.7381 MB / 0.6693 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.7208, allocations: 132.5 kB / 0.6695 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.7214, allocations: 498 kB / 0.6699 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.7214, allocations: 29.7 kB / 0.67 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.7216, allocations: 287.8 kB / 0.6702 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.7218, allocations: 114.3 kB / 0.6703 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.7219, allocations: 106 kB / 0.6704 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7221, allocations: 358.8 kB / 0.6708 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.7224, allocations: 152.8 kB / 0.6709 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.7228, allocations: 283.7 kB / 0.6712 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.7235, allocations: 441.6 kB / 0.6716 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7236, allocations: 0 / 0.6716 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001018/0.7246, allocations: 0.5442 MB / 0.6722 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7246, allocations: 11.94 kB / 0.6722 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7246, allocations: 0 / 0.6722 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.7261, allocations: 249 kB / 0.6724 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.7265, allocations: 107.8 kB / 0.6725 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004892/0.727, allocations: 0.5914 MB / 0.6731 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.7273, allocations: 52.86 kB / 0.6731 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.7274, allocations: 43.98 kB / 0.6732 GB, free: 1.145 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.0002672/0.7277, allocations: 189.8 kB / 0.6734 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.7278, allocations: 51.44 kB / 0.6734 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.7299, allocations: 1.094 MB / 0.6745 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7299, allocations: 4 kB / 0.6745 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7299, allocations: 0 / 0.6745 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7299, allocations: 3.938 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7315, allocations: 1.034 MB / 0.6755 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7315, allocations: 0 / 0.6755 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.7317, allocations: 51.97 kB / 0.6755 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.7348, allocations: 444.3 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.7349, allocations: 11.98 kB / 0.676 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005249/0.7354, allocations: 0.6154 MB / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7354, allocations: 0 / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.7363, allocations: 0.5239 MB / 0.6771 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.7365, allocations: 132.4 kB / 0.6772 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.7367, allocations: 15.91 kB / 0.6772 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.737, allocations: 15.98 kB / 0.6772 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.7371, allocations: 31.91 kB / 0.6773 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.7371, allocations: 15.98 kB / 0.6773 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005545/0.7377, allocations: 426.8 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7377, allocations: 0 / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000936/0.7386, allocations: 283.8 kB / 0.678 GB, free: 12.04 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.002239/0.7409, allocations: 1.323 MB / 0.6793 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009772/0.7419, allocations: 391.5 kB / 0.6796 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7419, allocations: 0 / 0.6796 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.7423, allocations: 173.5 kB / 0.6798 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.7441, allocations: 371.8 kB / 0.6802 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.7516, allocations: 5.065 MB / 0.6851 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7522, allocations: 0.8596 MB / 0.6859 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001402/0.7536, allocations: 0.5645 MB / 0.6865 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.7541, allocations: 231.3 kB / 0.6867 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.7541, allocations: 0 / 0.6867 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/1.034, allocations: 21.4 MB / 0.7076 GB, free: 199.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.96, allocations: 8.656 kB / 0.7076 GB, free: 199.4 MB / 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