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.0007888/0.0007887, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009256/0.0009257, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002447, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.0945, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3491/0.4436, allocations: 181.6 MB / 0.6492 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.4484, allocations: 3.339 MB / 0.6525 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.4489, allocations: 27.81 kB / 0.6525 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.4497, allocations: 266.5 kB / 0.6527 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.4526, allocations: 1.232 MB / 0.6539 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.454, allocations: 0.6563 MB / 0.6546 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.4561, allocations: 2.058 MB / 0.6566 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.4566, allocations: 363.8 kB / 0.6569 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009303/0.4576, allocations: 0.5253 MB / 0.6575 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.4582, allocations: 462 kB / 0.6579 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.4583, allocations: 28 kB / 0.6579 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.4601, allocations: 1.123 MB / 0.659 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.4602, allocations: 135.5 kB / 0.6591 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.4606, allocations: 356.1 kB / 0.6595 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.4624, allocations: 1.461 MB / 0.6609 GB, free: 2.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4625, allocations: 0 / 0.6609 GB, free: 2.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4625, allocations: 0 / 0.6609 GB, free: 2.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.4625, allocations: 0 / 0.6609 GB, free: 2.75 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.001721/0.4642, allocations: 0.9193 MB / 0.6618 GB, free: 1.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4643, allocations: 11.97 kB / 0.6618 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.4644, allocations: 82.53 kB / 0.6619 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4654, allocations: 143.1 kB / 0.662 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.4661, allocations: 484.4 kB / 0.6625 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4661, allocations: 44.88 kB / 0.6625 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.4662, allocations: 40 kB / 0.6626 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.4673, allocations: 0.5984 MB / 0.6632 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4673, allocations: 0 / 0.6632 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.4674, allocations: 24 kB / 0.6632 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4674, allocations: 8 kB / 0.6632 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.4683, allocations: 0.4917 MB / 0.6637 GB, free: 15.79 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.002761/0.4711, allocations: 2.674 MB / 0.6663 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.4719, allocations: 346.1 kB / 0.6666 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.4722, allocations: 177.3 kB / 0.6668 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.4726, allocations: 445.8 kB / 0.6672 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4726, allocations: 38.84 kB / 0.6672 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.4726, allocations: 0 / 0.6672 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001697/0.4743, allocations: 0.746 MB / 0.668 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.4744, allocations: 140.5 kB / 0.6681 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.4749, allocations: 490.1 kB / 0.6686 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.475, allocations: 29.7 kB / 0.6686 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.4752, allocations: 291.7 kB / 0.6689 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.4753, allocations: 114.2 kB / 0.669 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.4753, allocations: 37.7 kB / 0.669 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4755, allocations: 370.7 kB / 0.6694 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.4758, allocations: 156.8 kB / 0.6695 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.4762, allocations: 279.7 kB / 0.6698 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.4769, allocations: 449.6 kB / 0.6702 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4769, allocations: 0 / 0.6702 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009959/0.4779, allocations: 0.5641 MB / 0.6708 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4779, allocations: 12 kB / 0.6708 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.478, allocations: 4 kB / 0.6708 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4796, allocations: 280.5 kB / 0.6711 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.48, allocations: 111.9 kB / 0.6712 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003975/0.4804, allocations: 0.5952 MB / 0.6718 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.4807, allocations: 71.56 kB / 0.6718 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.4808, allocations: 43.98 kB / 0.6719 GB, free: 6.832 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.0002322/0.481, allocations: 185.6 kB / 0.672 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.4812, allocations: 55.34 kB / 0.6721 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.4831, allocations: 1.11 MB / 0.6732 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4832, allocations: 4 kB / 0.6732 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4832, allocations: 0 / 0.6732 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4832, allocations: 11.88 kB / 0.6732 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4845, allocations: 1.032 MB / 0.6742 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4846, allocations: 0 / 0.6742 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.4848, allocations: 59.84 kB / 0.6743 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/0.4882, allocations: 0.5394 MB / 0.6748 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4882, allocations: 12 kB / 0.6748 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003759/0.4886, allocations: 0.607 MB / 0.6754 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4886, allocations: 3.938 kB / 0.6754 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.4894, allocations: 0.5194 MB / 0.6759 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.4895, allocations: 164.2 kB / 0.6761 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.4896, allocations: 8 kB / 0.6761 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.49, allocations: 39.91 kB / 0.6761 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.4901, allocations: 31.84 kB / 0.6761 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.4901, allocations: 19.98 kB / 0.6761 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004725/0.4906, allocations: 426.8 kB / 0.6766 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4906, allocations: 0 / 0.6766 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007571/0.4914, allocations: 279.8 kB / 0.6768 GB, free: 1.559 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.001671/0.4931, allocations: 1.338 MB / 0.6781 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007839/0.4939, allocations: 387.8 kB / 0.6785 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4939, allocations: 8.875 kB / 0.6785 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.4942, allocations: 173.8 kB / 0.6787 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.496, allocations: 341.5 kB / 0.679 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.5024, allocations: 5.283 MB / 0.6842 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.5028, allocations: 0.8635 MB / 0.685 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001121/0.5039, allocations: 0.5578 MB / 0.6855 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.5043, allocations: 227.3 kB / 0.6858 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.5043, allocations: 0 / 0.6858 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.5394, allocations: 20.5 MB / 0.7058 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.5396, allocations: 300.7 kB / 0.7061 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.788, allocations: 0 / 0.7061 GB, free: 3.57 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