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.001304/0.001304, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3182, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1893/0.5076, allocations: 186 MB / 0.7121 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.5129, allocations: 3.26 MB / 0.7153 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.5136, allocations: 15.94 kB / 0.7153 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.5147, allocations: 321.8 kB / 0.7157 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.5184, allocations: 1.397 MB / 0.717 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5203, allocations: 0.7374 MB / 0.7177 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3227/0.843, allocations: 1.553 MB / 0.7193 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/0.844, allocations: 433.2 kB / 0.7197 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.8453, allocations: 0.581 MB / 0.7202 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.8464, allocations: 472.6 kB / 0.7207 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.8466, allocations: 51.78 kB / 0.7207 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.8493, allocations: 1.201 MB / 0.7219 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.8496, allocations: 162 kB / 0.7221 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007073/0.8503, allocations: 350.9 kB / 0.7224 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.8531, allocations: 1.496 MB / 0.7239 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8531, allocations: 2.156 kB / 0.7239 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8531, allocations: 0 / 0.7239 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.8532, allocations: 0 / 0.7239 GB, free: 3.371 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.002629/0.8558, allocations: 1.057 MB / 0.7249 GB, free: 18.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8558, allocations: 10.12 kB / 0.7249 GB, free: 18.78 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.856, allocations: 88.28 kB / 0.725 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.8571, allocations: 138.5 kB / 0.7251 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/0.858, allocations: 498.9 kB / 0.7256 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.8581, allocations: 35 kB / 0.7256 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.8581, allocations: 38.44 kB / 0.7257 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8593, allocations: 0.5945 MB / 0.7262 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.8593, allocations: 2.094 kB / 0.7262 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.8594, allocations: 20.97 kB / 0.7263 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.8594, allocations: 12.12 kB / 0.7263 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.8604, allocations: 487.8 kB / 0.7267 GB, free: 18.32 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.00303/0.8634, allocations: 2.671 MB / 0.7294 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.8641, allocations: 351.2 kB / 0.7297 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.8643, allocations: 176 kB / 0.7299 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.8647, allocations: 434.8 kB / 0.7303 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.8648, allocations: 43.09 kB / 0.7303 GB, free: 16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.8648, allocations: 0 / 0.7303 GB, free: 16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001724/0.8665, allocations: 0.7278 MB / 0.731 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8666, allocations: 136.1 kB / 0.7312 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.8672, allocations: 495.2 kB / 0.7316 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.8673, allocations: 31.64 kB / 0.7317 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.8675, allocations: 291.5 kB / 0.7319 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.8676, allocations: 109.5 kB / 0.732 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.8678, allocations: 105.8 kB / 0.7321 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.868, allocations: 370.4 kB / 0.7325 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.8683, allocations: 144 kB / 0.7326 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.8687, allocations: 283.2 kB / 0.7329 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.8694, allocations: 444.4 kB / 0.7333 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8694, allocations: 1.656 kB / 0.7333 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009257/0.8703, allocations: 0.5428 MB / 0.7339 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8703, allocations: 13.75 kB / 0.7339 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8703, allocations: 2.531 kB / 0.7339 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.8719, allocations: 237.7 kB / 0.7341 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.8723, allocations: 104.7 kB / 0.7342 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004942/0.8728, allocations: 0.5989 MB / 0.7348 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.8732, allocations: 54.7 kB / 0.7348 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.8733, allocations: 43.48 kB / 0.7349 GB, free: 14.08 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.0002793/0.8736, allocations: 180.5 kB / 0.735 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.8737, allocations: 53.28 kB / 0.7351 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.8755, allocations: 1.092 MB / 0.7362 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.8755, allocations: 6.188 kB / 0.7362 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8755, allocations: 6.031 kB / 0.7362 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.8755, allocations: 0 / 0.7362 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.877, allocations: 1.031 MB / 0.7372 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.877, allocations: 4.016 kB / 0.7372 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.8772, allocations: 52.97 kB / 0.7372 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/0.8805, allocations: 442.6 kB / 0.7377 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.8806, allocations: 13 kB / 0.7377 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004282/0.881, allocations: 0.6096 MB / 0.7383 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.881, allocations: 7.562 kB / 0.7383 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.882, allocations: 0.5123 MB / 0.7388 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.8823, allocations: 134.3 kB / 0.7389 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8824, allocations: 12.28 kB / 0.7389 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.8828, allocations: 18.8 kB / 0.7389 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.8829, allocations: 29.77 kB / 0.739 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.8829, allocations: 18.67 kB / 0.739 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000505/0.8835, allocations: 419.8 kB / 0.7394 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8835, allocations: 0 / 0.7394 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009768/0.8844, allocations: 280 kB / 0.7396 GB, free: 12.43 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.002066/0.8865, allocations: 1.356 MB / 0.741 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009011/0.8874, allocations: 381 kB / 0.7413 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.8875, allocations: 0.9688 kB / 0.7413 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.8878, allocations: 165.3 kB / 0.7415 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.8894, allocations: 351.2 kB / 0.7418 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.8962, allocations: 4.905 MB / 0.7466 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.8966, allocations: 0.8582 MB / 0.7475 GB, free: 9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001022/0.8977, allocations: 0.5624 MB / 0.748 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.898, allocations: 228.7 kB / 0.7482 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.8981, allocations: 0 / 0.7482 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/0.9484, allocations: 21.91 MB / 0.7696 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.42, allocations: 15.03 kB / 0.7696 GB, free: 4.227 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