Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002375/0.002375, allocations: 208.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.218/0.218, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2873, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2054/0.4927, allocations: 161.7 MB / 0.7185 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006406/0.4991, allocations: 3.409 MB / 0.7218 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.4998, allocations: 19.81 kB / 0.7219 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.5008, allocations: 313.9 kB / 0.7222 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.5056, allocations: 1.752 MB / 0.7239 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.5076, allocations: 0.724 MB / 0.7246 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.5097, allocations: 1.536 MB / 0.7261 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.5105, allocations: 363.8 kB / 0.7264 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.5118, allocations: 0.6073 MB / 0.727 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000901/0.5127, allocations: 446.1 kB / 0.7274 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.5129, allocations: 52 kB / 0.7275 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.5157, allocations: 1.139 MB / 0.7286 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.5159, allocations: 159.4 kB / 0.7288 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.5164, allocations: 290.8 kB / 0.729 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.5195, allocations: 1.636 MB / 0.7306 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5195, allocations: 0 / 0.7306 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5195, allocations: 0 / 0.7306 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.5195, allocations: 0 / 0.7306 GB, free: 5.484 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.002289/0.5218, allocations: 1.033 MB / 0.7316 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.5219, allocations: 12.03 kB / 0.7317 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.522, allocations: 90.45 kB / 0.7317 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.523, allocations: 139.5 kB / 0.7319 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.5239, allocations: 413.7 kB / 0.7323 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.5239, allocations: 36.94 kB / 0.7323 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.524, allocations: 40 kB / 0.7323 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5254, allocations: 0.8918 MB / 0.7332 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5254, allocations: 4 kB / 0.7332 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.5254, allocations: 23.94 kB / 0.7332 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5254, allocations: 8 kB / 0.7332 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.5265, allocations: 471.6 kB / 0.7337 GB, free: 2.168 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.002986/0.5294, allocations: 1.95 MB / 0.7356 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2237/0.7532, allocations: 319 kB / 0.7359 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.7536, allocations: 158 kB / 0.7361 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.7539, allocations: 49.27 kB / 0.7361 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.7539, allocations: 42.95 kB / 0.7361 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.7539, allocations: 0 / 0.7361 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002124/0.7561, allocations: 0.6373 MB / 0.7368 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.7561, allocations: 133.2 kB / 0.7369 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.7568, allocations: 474.8 kB / 0.7373 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.7568, allocations: 36.45 kB / 0.7374 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.757, allocations: 285 kB / 0.7377 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.7571, allocations: 120.4 kB / 0.7378 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.7573, allocations: 103.2 kB / 0.7379 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.7574, allocations: 355.9 kB / 0.7382 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.7577, allocations: 148.7 kB / 0.7383 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.7581, allocations: 357.2 kB / 0.7387 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.7587, allocations: 438.1 kB / 0.7391 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7587, allocations: 2.188 kB / 0.7391 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008683/0.7596, allocations: 0.5435 MB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7596, allocations: 6.688 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7596, allocations: 4.562 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.761, allocations: 239.7 kB / 0.7399 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.7614, allocations: 107.9 kB / 0.74 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.7617, allocations: 0.5936 MB / 0.7406 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.762, allocations: 50.59 kB / 0.7406 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.7621, allocations: 48.38 kB / 0.7407 GB, free: 173.8 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.0002151/0.7623, allocations: 180.3 kB / 0.7408 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.7624, allocations: 56.08 kB / 0.7409 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.764, allocations: 1.088 MB / 0.7419 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.764, allocations: 4 kB / 0.7419 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.764, allocations: 1.125 kB / 0.7419 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.764, allocations: 3.688 kB / 0.7419 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.7652, allocations: 0.9218 MB / 0.7428 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7652, allocations: 3.938 kB / 0.7429 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.7654, allocations: 50.03 kB / 0.7429 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/0.7682, allocations: 434.2 kB / 0.7433 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.7682, allocations: 12 kB / 0.7433 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000293/0.7685, allocations: 0.6108 MB / 0.7439 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7685, allocations: 5.094 kB / 0.7439 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.7691, allocations: 0.4984 MB / 0.7444 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.7692, allocations: 66.02 kB / 0.7445 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.7693, allocations: 19.89 kB / 0.7445 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.7696, allocations: 19.17 kB / 0.7445 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.7697, allocations: 29.42 kB / 0.7445 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.7697, allocations: 12 kB / 0.7446 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003773/0.7701, allocations: 402.8 kB / 0.7449 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7701, allocations: 0 / 0.7449 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008301/0.7709, allocations: 346.4 kB / 0.7453 GB, free: 169.9 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.001423/0.7723, allocations: 1.386 MB / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000713/0.7731, allocations: 357.3 kB / 0.747 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7731, allocations: 3.938 kB / 0.747 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.7733, allocations: 161 kB / 0.7471 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7748, allocations: 359.2 kB / 0.7475 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.7798, allocations: 4.804 MB / 0.7522 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.7799, allocations: 255.3 kB / 0.7524 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000854/0.7808, allocations: 0.5515 MB / 0.7529 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.7811, allocations: 235.3 kB / 0.7532 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.7811, allocations: 0 / 0.7532 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.8287, allocations: 24.98 MB / 0.7776 GB, free: 137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.39, allocations: 11.3 kB / 0.7776 GB, free: 137 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 17.437954128254205]