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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 203.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.96 MB / 360.8 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 76.06 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3103, allocations: 66.08 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2045/0.5148, allocations: 161.7 MB / 0.7186 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006212/0.521, allocations: 3.405 MB / 0.7219 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005566/0.5216, allocations: 23.81 kB / 0.722 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.5225, allocations: 305.9 kB / 0.7223 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004514/0.5271, allocations: 1.752 MB / 0.724 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.5289, allocations: 0.7187 MB / 0.7247 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.5311, allocations: 1.547 MB / 0.7262 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.5318, allocations: 363.8 kB / 0.7265 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.5329, allocations: 0.6072 MB / 0.7271 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.5337, allocations: 446.1 kB / 0.7275 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.5339, allocations: 48 kB / 0.7276 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.5365, allocations: 1.139 MB / 0.7287 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.5368, allocations: 159.4 kB / 0.7289 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.5372, allocations: 298.7 kB / 0.7291 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.5403, allocations: 1.632 MB / 0.7307 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5403, allocations: 0 / 0.7307 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5403, allocations: 0 / 0.7307 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.584e-05/0.5404, allocations: 0 / 0.7307 GB, free: 5.258 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.002448/0.5428, allocations: 1.037 MB / 0.7317 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5429, allocations: 12.02 kB / 0.7318 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.543, allocations: 82.53 kB / 0.7318 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.544, allocations: 135.5 kB / 0.732 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.5449, allocations: 421.7 kB / 0.7324 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.545, allocations: 36.94 kB / 0.7324 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.545, allocations: 40 kB / 0.7324 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5464, allocations: 0.8879 MB / 0.7333 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5464, allocations: 0 / 0.7333 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.5465, allocations: 24 kB / 0.7333 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5465, allocations: 11.94 kB / 0.7333 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5475, allocations: 471.6 kB / 0.7338 GB, free: 1.941 MB / 0.5606 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.2592/0.8068, allocations: 1.95 MB / 0.7357 GB, free: 176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.8079, allocations: 320.3 kB / 0.736 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.8083, allocations: 157.2 kB / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.8086, allocations: 50.58 kB / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.8086, allocations: 44.77 kB / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.8086, allocations: 0 / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002249/0.8109, allocations: 0.6364 MB / 0.7369 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.811, allocations: 133.5 kB / 0.737 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.8118, allocations: 479.6 kB / 0.7374 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.8118, allocations: 32.11 kB / 0.7375 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.812, allocations: 280.9 kB / 0.7377 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.8121, allocations: 126.5 kB / 0.7379 GB, free: 175 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.8123, allocations: 101.3 kB / 0.738 GB, free: 175 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.8124, allocations: 357.7 kB / 0.7383 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.8127, allocations: 148.6 kB / 0.7384 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.8131, allocations: 357.5 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.8137, allocations: 440 kB / 0.7392 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8137, allocations: 0 / 0.7392 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009235/0.8146, allocations: 0.5414 MB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8146, allocations: 6.969 kB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8147, allocations: 3.5 kB / 0.7397 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.8162, allocations: 245 kB / 0.74 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.8165, allocations: 102.7 kB / 0.7401 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000355/0.8168, allocations: 0.5957 MB / 0.7407 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.8172, allocations: 46.77 kB / 0.7407 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.8173, allocations: 45.36 kB / 0.7407 GB, free: 173.2 MB / 0.5606 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.0002295/0.8175, allocations: 178.6 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8176, allocations: 63.62 kB / 0.741 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.8192, allocations: 1.08 MB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8192, allocations: 8 kB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8192, allocations: 6.953 kB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8192, allocations: 0 / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.8204, allocations: 0.9293 MB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8204, allocations: 4 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.8206, allocations: 49.55 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/0.8234, allocations: 437.9 kB / 0.7434 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.8234, allocations: 12 kB / 0.7434 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003092/0.8237, allocations: 0.604 MB / 0.744 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8237, allocations: 0 / 0.744 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.8244, allocations: 0.5027 MB / 0.7445 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.8245, allocations: 62.06 kB / 0.7446 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.8246, allocations: 22.2 kB / 0.7446 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.8249, allocations: 15.98 kB / 0.7446 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.825, allocations: 31.33 kB / 0.7446 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.825, allocations: 15.98 kB / 0.7447 GB, free: 170 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003779/0.8254, allocations: 398.8 kB / 0.745 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8254, allocations: 0 / 0.745 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008978/0.8263, allocations: 346.5 kB / 0.7454 GB, free: 169.4 MB / 0.5606 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.00156/0.8278, allocations: 1.375 MB / 0.7467 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007737/0.8286, allocations: 365 kB / 0.7471 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8286, allocations: 0 / 0.7471 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.8289, allocations: 155.8 kB / 0.7472 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.8305, allocations: 365.2 kB / 0.7476 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.8356, allocations: 4.812 MB / 0.7523 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.8357, allocations: 251.3 kB / 0.7525 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008767/0.8366, allocations: 0.5659 MB / 0.753 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.8369, allocations: 223.3 kB / 0.7533 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/0.8369, allocations: 0 / 0.7533 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.8886, allocations: 24.97 MB / 0.7776 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.96, allocations: 3.938 kB / 0.7776 GB, free: 136.4 MB / 0.5606 GB " [Timeout remaining time 646] (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 --stepSize=0.000201879 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.88984887395054]