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.0009201/0.0009201, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001017/0.001017, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8845/0.8845, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2394/0.2394, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.172e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2922/0.2922, allocations: 161.6 MB / 0.5896 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.2961, allocations: 3.407 MB / 0.593 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.2964, allocations: 19.81 kB / 0.593 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.2971, allocations: 313.8 kB / 0.5933 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2996, allocations: 1.794 MB / 0.595 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3006, allocations: 0.7381 MB / 0.5957 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.3016, allocations: 1.558 MB / 0.5973 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.302, allocations: 352 kB / 0.5976 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.3026, allocations: 0.7987 MB / 0.5984 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.3029, allocations: 406.8 kB / 0.5988 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.303, allocations: 52 kB / 0.5988 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3042, allocations: 1.146 MB / 0.5999 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3044, allocations: 163.4 kB / 0.6001 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3045, allocations: 251.4 kB / 0.6003 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3059, allocations: 1.726 MB / 0.602 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3059, allocations: 4 kB / 0.602 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3059, allocations: 4 kB / 0.602 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3059, allocations: 0 / 0.602 GB, free: 2.078 MB / 0.4948 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.001165/0.307, allocations: 1.029 MB / 0.603 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3071, allocations: 10 kB / 0.603 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.684e-05/0.3072, allocations: 82.52 kB / 0.6031 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.3076, allocations: 151.5 kB / 0.6033 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.3082, allocations: 416.9 kB / 0.6037 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3082, allocations: 29 kB / 0.6037 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.3082, allocations: 40 kB / 0.6037 GB, free: 276 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.309, allocations: 0.8918 MB / 0.6046 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.309, allocations: 3.938 kB / 0.6046 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.309, allocations: 24 kB / 0.6046 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.309, allocations: 12 kB / 0.6046 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.3096, allocations: 463.6 kB / 0.6051 GB, free: 14.78 MB / 0.5105 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.001608/0.3112, allocations: 1.959 MB / 0.607 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.3116, allocations: 311.5 kB / 0.6073 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3118, allocations: 157.3 kB / 0.6074 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.3119, allocations: 48.25 kB / 0.6075 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3119, allocations: 38.84 kB / 0.6075 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.3119, allocations: 0 / 0.6075 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.000964/0.3129, allocations: 0.6475 MB / 0.6082 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.313, allocations: 132.5 kB / 0.6083 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.3133, allocations: 473.9 kB / 0.6087 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3133, allocations: 37.64 kB / 0.6088 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3135, allocations: 288.2 kB / 0.609 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.3135, allocations: 115 kB / 0.6092 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.3136, allocations: 106.2 kB / 0.6093 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.3137, allocations: 358.8 kB / 0.6096 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3139, allocations: 148.9 kB / 0.6097 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.3142, allocations: 353.5 kB / 0.6101 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3146, allocations: 437.6 kB / 0.6105 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3146, allocations: 4 kB / 0.6105 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000597/0.3152, allocations: 0.5354 MB / 0.611 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3152, allocations: 8 kB / 0.611 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3152, allocations: 8.375 kB / 0.611 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.316, allocations: 248.5 kB / 0.6113 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3161, allocations: 107.9 kB / 0.6114 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002933/0.3164, allocations: 0.5875 MB / 0.6119 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3166, allocations: 47.66 kB / 0.612 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.3166, allocations: 44 kB / 0.612 GB, free: 7.324 MB / 0.5105 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.0001558/0.3168, allocations: 185.6 kB / 0.6122 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.3168, allocations: 59.66 kB / 0.6123 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3179, allocations: 1.077 MB / 0.6133 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3179, allocations: 5.812 kB / 0.6133 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.318, allocations: 0 / 0.6133 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.318, allocations: 7.969 kB / 0.6133 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.3188, allocations: 0.9201 MB / 0.6142 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3188, allocations: 0 / 0.6142 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3189, allocations: 51.91 kB / 0.6143 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.3202, allocations: 432.3 kB / 0.6147 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3203, allocations: 15.94 kB / 0.6147 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002823/0.3205, allocations: 0.6045 MB / 0.6153 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3205, allocations: 4.031 kB / 0.6153 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.321, allocations: 0.5079 MB / 0.6158 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3211, allocations: 59.53 kB / 0.6159 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.3211, allocations: 15.89 kB / 0.6159 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3213, allocations: 15.98 kB / 0.6159 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3213, allocations: 23.97 kB / 0.6159 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.3214, allocations: 21.98 kB / 0.6159 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003209/0.3217, allocations: 402.8 kB / 0.6163 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3217, allocations: 3.938 kB / 0.6163 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006436/0.3223, allocations: 342.9 kB / 0.6166 GB, free: 2.449 MB / 0.5105 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.001293/0.3236, allocations: 1.399 MB / 0.618 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.3242, allocations: 348.7 kB / 0.6183 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3242, allocations: 0.875 kB / 0.6183 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3244, allocations: 164.5 kB / 0.6185 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.3253, allocations: 369.5 kB / 0.6189 GB, free: 176 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.3296, allocations: 4.835 MB / 0.6236 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3298, allocations: 255.3 kB / 0.6238 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006486/0.3305, allocations: 0.5524 MB / 0.6244 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.3307, allocations: 224.4 kB / 0.6246 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.3307, allocations: 4 kB / 0.6246 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/0.5162, allocations: 25.05 MB / 0.649 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.726, allocations: 7.25 kB / 0.649 GB, free: 164.1 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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: 10.76228900346905]