Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 115.5 kB / 17.78 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.001281/0.001281, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, 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.2291/0.2291, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3992, allocations: 62.42 MB / 0.5305 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2055/0.6048, allocations: 186 MB / 0.7121 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007371/0.6122, allocations: 3.662 MB / 0.7157 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.6132, allocations: 15.88 kB / 0.7157 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.6143, allocations: 317.8 kB / 0.716 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004419/0.6188, allocations: 1.741 MB / 0.7177 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.6207, allocations: 0.7061 MB / 0.7184 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4549/1.076, allocations: 1.526 MB / 0.7199 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/1.077, allocations: 422.9 kB / 0.7203 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/1.079, allocations: 0.5927 MB / 0.7209 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008997/1.08, allocations: 451.9 kB / 0.7213 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/1.08, allocations: 51.19 kB / 0.7214 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/1.084, allocations: 1.936 MB / 0.7233 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/1.084, allocations: 157.6 kB / 0.7234 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/1.085, allocations: 340.6 kB / 0.7237 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/1.089, allocations: 1.835 MB / 0.7255 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.089, allocations: 2.812 kB / 0.7255 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/1.089, allocations: 0 / 0.7255 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.326e-05/1.089, allocations: 0.875 kB / 0.7255 GB, free: 3.414 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.002843/1.092, allocations: 1.11 MB / 0.7266 GB, free: 18.75 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.092, allocations: 9.75 kB / 0.7266 GB, free: 18.75 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/1.092, allocations: 84.61 kB / 0.7267 GB, free: 18.71 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.093, allocations: 139.1 kB / 0.7268 GB, free: 18.68 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/1.095, allocations: 485.8 kB / 0.7273 GB, free: 18.42 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/1.095, allocations: 33.03 kB / 0.7273 GB, free: 18.42 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/1.095, allocations: 47.33 kB / 0.7274 GB, free: 18.42 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.096, allocations: 0.5831 MB / 0.7279 GB, free: 18.3 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.096, allocations: 2.156 kB / 0.728 GB, free: 18.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/1.096, allocations: 22.62 kB / 0.728 GB, free: 18.3 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/1.096, allocations: 12.12 kB / 0.728 GB, free: 18.3 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/1.097, allocations: 476.3 kB / 0.7284 GB, free: 18.29 MB / 0.5763 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.003418/1.1, allocations: 2.646 MB / 0.731 GB, free: 16.52 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/1.101, allocations: 345.3 kB / 0.7314 GB, free: 16.49 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.101, allocations: 170.6 kB / 0.7315 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/1.102, allocations: 437 kB / 0.7319 GB, free: 16.01 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/1.102, allocations: 44.92 kB / 0.732 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/1.102, allocations: 0 / 0.732 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001765/1.104, allocations: 0.7119 MB / 0.7327 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/1.104, allocations: 136.8 kB / 0.7328 GB, free: 15.64 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/1.104, allocations: 468.6 kB / 0.7332 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/1.105, allocations: 32.77 kB / 0.7333 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/1.105, allocations: 276.6 kB / 0.7335 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/1.105, allocations: 127.9 kB / 0.7337 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/1.105, allocations: 101.5 kB / 0.7338 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.105, allocations: 361 kB / 0.7341 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/1.105, allocations: 154.1 kB / 0.7343 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/1.106, allocations: 275.8 kB / 0.7345 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/1.107, allocations: 435.3 kB / 0.7349 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.107, allocations: 0 / 0.7349 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001071/1.108, allocations: 0.5419 MB / 0.7355 GB, free: 14.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.108, allocations: 12.44 kB / 0.7355 GB, free: 14.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.108, allocations: 4.312 kB / 0.7355 GB, free: 14.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.109, allocations: 238.5 kB / 0.7357 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/1.11, allocations: 105.7 kB / 0.7358 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004976/1.11, allocations: 0.597 MB / 0.7364 GB, free: 14.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/1.111, allocations: 48.59 kB / 0.7364 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/1.111, allocations: 49.66 kB / 0.7365 GB, free: 14.04 MB / 0.5763 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.0003342/1.111, allocations: 173.9 kB / 0.7366 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.111, allocations: 56.45 kB / 0.7367 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.113, allocations: 1.083 MB / 0.7378 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.113, allocations: 6.453 kB / 0.7378 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.113, allocations: 0 / 0.7378 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.113, allocations: 0 / 0.7378 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/1.115, allocations: 1.012 MB / 0.7388 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.115, allocations: 1.094 kB / 0.7388 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/1.115, allocations: 60.39 kB / 0.7388 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.118, allocations: 435.6 kB / 0.7392 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.118, allocations: 7.844 kB / 0.7392 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/1.119, allocations: 0.605 MB / 0.7398 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.119, allocations: 6.5 kB / 0.7398 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/1.119, allocations: 0.5034 MB / 0.7403 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.12, allocations: 141.6 kB / 0.7405 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.12, allocations: 5.844 kB / 0.7405 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/1.12, allocations: 16.89 kB / 0.7405 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/1.12, allocations: 32.34 kB / 0.7405 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/1.12, allocations: 17.38 kB / 0.7405 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000475/1.121, allocations: 401.8 kB / 0.7409 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.2e-07/1.121, allocations: 0 / 0.7409 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001268/1.122, allocations: 351.6 kB / 0.7412 GB, free: 12.34 MB / 0.5763 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.002546/1.125, allocations: 1.396 MB / 0.7426 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0009708/1.126, allocations: 376.5 kB / 0.743 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.126, allocations: 0.75 kB / 0.743 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/1.126, allocations: 165.7 kB / 0.7431 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/1.128, allocations: 373.4 kB / 0.7435 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/1.135, allocations: 4.817 MB / 0.7482 GB, free: 9.547 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/1.136, allocations: 0.8561 MB / 0.749 GB, free: 8.848 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001252/1.137, allocations: 0.5489 MB / 0.7496 GB, free: 8.801 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/1.138, allocations: 224 kB / 0.7498 GB, free: 8.793 MB / 0.5763 GB Notification: Performance of SimCode: time 1.744e-06/1.138, allocations: 0.875 kB / 0.7498 GB, free: 8.793 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/1.193, allocations: 23.09 MB / 0.7723 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.85, allocations: 11.48 kB / 0.7723 GB, free: 3.176 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches