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.001463/0.001463, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 200.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.468/1.468, allocations: 227.4 MB / 247 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.2689/0.2689, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3611, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2484/0.6096, allocations: 186 MB / 0.7122 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006632/0.6163, allocations: 3.662 MB / 0.7158 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.6171, allocations: 15.88 kB / 0.7158 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.6182, allocations: 317.8 kB / 0.7161 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.6235, allocations: 1.718 MB / 0.7178 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.6256, allocations: 0.7134 MB / 0.7185 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3768/1.002, allocations: 1.528 MB / 0.72 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/1.003, allocations: 418.5 kB / 0.7204 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/1.004, allocations: 0.5813 MB / 0.721 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/1.005, allocations: 453.7 kB / 0.7214 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.707e-05/1.005, allocations: 50.75 kB / 0.7215 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.008, allocations: 1.932 MB / 0.7233 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/1.008, allocations: 158.9 kB / 0.7235 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/1.009, allocations: 345 kB / 0.7238 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/1.011, allocations: 1.829 MB / 0.7256 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.011, allocations: 1 kB / 0.7256 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/1.011, allocations: 0 / 0.7256 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.011, allocations: 1 kB / 0.7256 GB, free: 3.508 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.001665/1.013, allocations: 1.111 MB / 0.7267 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.013, allocations: 9 kB / 0.7267 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.712e-05/1.013, allocations: 86.91 kB / 0.7268 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/1.014, allocations: 138.3 kB / 0.7269 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/1.015, allocations: 488.3 kB / 0.7274 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/1.015, allocations: 34.81 kB / 0.7274 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/1.015, allocations: 41.67 kB / 0.7275 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/1.016, allocations: 0.5923 MB / 0.728 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.016, allocations: 0 / 0.728 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/1.016, allocations: 23.14 kB / 0.7281 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.016, allocations: 12.03 kB / 0.7281 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/1.017, allocations: 471.5 kB / 0.7285 GB, free: 18.39 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.002558/1.019, allocations: 2.647 MB / 0.7311 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/1.02, allocations: 351 kB / 0.7314 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/1.02, allocations: 177.6 kB / 0.7316 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.02, allocations: 434.4 kB / 0.732 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.02, allocations: 37.53 kB / 0.7321 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/1.02, allocations: 0.6875 kB / 0.7321 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001496/1.022, allocations: 0.7134 MB / 0.7328 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/1.022, allocations: 132.7 kB / 0.7329 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/1.022, allocations: 468.4 kB / 0.7333 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/1.023, allocations: 36.48 kB / 0.7334 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.023, allocations: 271.6 kB / 0.7336 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/1.023, allocations: 130.4 kB / 0.7337 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.023, allocations: 101.2 kB / 0.7338 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.023, allocations: 361.2 kB / 0.7342 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/1.023, allocations: 147.5 kB / 0.7343 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/1.024, allocations: 278.3 kB / 0.7346 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/1.024, allocations: 439.7 kB / 0.735 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.024, allocations: 5.25 kB / 0.735 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008404/1.025, allocations: 0.5386 MB / 0.7355 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.025, allocations: 5.75 kB / 0.7355 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.025, allocations: 5.25 kB / 0.7356 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/1.027, allocations: 238.2 kB / 0.7358 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/1.027, allocations: 105.1 kB / 0.7359 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004445/1.027, allocations: 0.5945 MB / 0.7365 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/1.028, allocations: 51.12 kB / 0.7365 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.028, allocations: 46.73 kB / 0.7366 GB, free: 14.13 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.0002142/1.028, allocations: 183.9 kB / 0.7367 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/1.028, allocations: 54.2 kB / 0.7368 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.03, allocations: 1.079 MB / 0.7378 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.03, allocations: 4.344 kB / 0.7378 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.03, allocations: 0 / 0.7378 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.03, allocations: 2.766 kB / 0.7378 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/1.031, allocations: 1.012 MB / 0.7388 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.031, allocations: 3.938 kB / 0.7388 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/1.031, allocations: 59.64 kB / 0.7389 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/1.034, allocations: 430.9 kB / 0.7393 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.034, allocations: 8.812 kB / 0.7393 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004172/1.034, allocations: 0.6017 MB / 0.7399 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.034, allocations: 7.312 kB / 0.7399 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/1.035, allocations: 0.507 MB / 0.7404 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.035, allocations: 137 kB / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/1.035, allocations: 11.02 kB / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/1.036, allocations: 21.08 kB / 0.7406 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/1.036, allocations: 24.67 kB / 0.7406 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/1.036, allocations: 23.02 kB / 0.7406 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003855/1.036, allocations: 397.8 kB / 0.741 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.036, allocations: 0 / 0.741 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009431/1.037, allocations: 344.9 kB / 0.7413 GB, free: 12.44 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.00177/1.039, allocations: 1.401 MB / 0.7427 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007203/1.04, allocations: 377.4 kB / 0.743 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.04, allocations: 0.8438 kB / 0.743 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/1.04, allocations: 165.2 kB / 0.7432 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.041, allocations: 363.8 kB / 0.7435 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/1.047, allocations: 4.822 MB / 0.7483 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/1.048, allocations: 0.8567 MB / 0.7491 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001117/1.049, allocations: 0.5562 MB / 0.7496 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/1.049, allocations: 222.7 kB / 0.7498 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/1.049, allocations: 1.031 kB / 0.7499 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/1.106, allocations: 23.14 MB / 0.7725 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.3, allocations: 2.031 kB / 0.7725 GB, free: 3.246 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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